Fix new rubocop warnings
This commit is contained in:
parent
f7e168b8e1
commit
9cd96bd452
7 changed files with 9 additions and 9 deletions
|
@ -36,7 +36,7 @@ class ProfilesController < ApplicationController
|
|||
flash[:notice] = t ".success"
|
||||
redirect_to user_path(current_user)
|
||||
else
|
||||
flash[:error] = t ".failure"
|
||||
flash.now[:error] = t ".failure"
|
||||
render :edit
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue