修改密码导航栏错误
This commit is contained in:
parent
b981f3dcea
commit
0ac4821f14
|
@ -85,7 +85,7 @@ class MyController < ApplicationController
|
|||
flash[:notice] = l(:notice_mail_notification_updated)
|
||||
redirect_to my_account_url
|
||||
else
|
||||
redirect_to signin_url
|
||||
redirect_to signin_url
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -223,7 +223,7 @@ class MyController < ApplicationController
|
|||
end
|
||||
flash.now[:error] = l(:notice_account_old_wrong_password)
|
||||
end
|
||||
render :template => 'my/account',:layout=>'base_users_new'
|
||||
render :template => 'my/account',:layout=>'new_base_user'
|
||||
end
|
||||
|
||||
# Create a new feeds key
|
||||
|
|
|
@ -228,7 +228,7 @@ class UsersService
|
|||
end
|
||||
course_list
|
||||
end
|
||||
|
||||
|
||||
#修改密码
|
||||
def change_password params
|
||||
@current_user = User.find(params[:current_user_id])
|
||||
|
|
Loading…
Reference in New Issue