Rebuild rubocop TODOs after auto-correcting
This commit is contained in:
parent
31c50255e9
commit
84dbb52d11
580 changed files with 3689 additions and 3133 deletions
|
|
@ -1,3 +1,5 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
class UsersController < ApplicationController
|
||||
load_and_authorize_resource
|
||||
|
||||
|
|
@ -7,8 +9,7 @@ class UsersController < ApplicationController
|
|||
end
|
||||
|
||||
# GET /users/1/edit
|
||||
def edit
|
||||
end
|
||||
def edit; end
|
||||
|
||||
# PATCH/PUT /users/1
|
||||
def update
|
||||
|
|
@ -22,8 +23,8 @@ class UsersController < ApplicationController
|
|||
|
||||
private
|
||||
|
||||
# Only allow a trusted parameter "white list" through.
|
||||
def user_params
|
||||
params.require(:user).permit(:name, :biography, :nickname, :affiliation)
|
||||
end
|
||||
# Only allow a trusted parameter "white list" through.
|
||||
def user_params
|
||||
params.require(:user).permit(:name, :biography, :nickname, :affiliation)
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue