Password & token split up, icon to button for top panel
This commit is contained in:
parent
eb25bfe2b2
commit
1e4d15b406
13 changed files with 108 additions and 92 deletions
|
@ -14,6 +14,10 @@ class ProfileController < ApplicationController
|
|||
redirect_to :back
|
||||
end
|
||||
|
||||
def token
|
||||
@user = current_user
|
||||
end
|
||||
|
||||
def password
|
||||
@user = current_user
|
||||
end
|
||||
|
@ -32,6 +36,6 @@ class ProfileController < ApplicationController
|
|||
|
||||
def reset_private_token
|
||||
current_user.reset_authentication_token!
|
||||
redirect_to profile_password_path
|
||||
redirect_to profile_token_path
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue