mirror of
https://github.com/iritmaximus/brewery.git
synced 2026-10-12 19:13:49 +03:00
fix: rubocop autofix
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user