fix: rubocop autofix

This commit is contained in:
Aaro Koivukangas
2023-11-11 15:19:32 +02:00
parent 616af3c86f
commit c91c9d6ad7
+1 -1
View File
@@ -17,7 +17,7 @@ class UsersController < ApplicationController
# GET /users/1/edit
def edit
return if @user == current_user
nil if @user == current_user
# redirect_to user_path(@user), notice: "Not permitted to edit user"
end