mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-19 05:09:38 +02:00
Opt-in to Current fully (#297)
This commit is contained in:
parent
23eaa3e066
commit
d61a22b070
8 changed files with 24 additions and 23 deletions
|
@ -5,7 +5,7 @@ class PasswordsController < ApplicationController
|
|||
end
|
||||
|
||||
def update
|
||||
if current_user.update(password_params)
|
||||
if Current.user.update(password_params)
|
||||
redirect_to root_path, notice: t(".success")
|
||||
else
|
||||
render :edit, status: :unprocessable_entity
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue