From 3632dbde9f0e711f5143dd2fe586f7e2ee854744 Mon Sep 17 00:00:00 2001 From: nilsding Date: Sun, 7 Dec 2014 15:53:19 +0100 Subject: [PATCH] fixed path --- app/views/user/_account.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/user/_account.html.haml b/app/views/user/_account.html.haml index 98f2f58c..c207faa1 100644 --- a/app/views/user/_account.html.haml +++ b/app/views/user/_account.html.haml @@ -3,7 +3,7 @@ .col-md-9.col-xs-12.col-sm-9 .panel.panel-default .panel-body - = bootstrap_form_for(resource, as: resource_name, url: registration_path(resource_name), html: { method: :put }) do |f| + = bootstrap_form_for(resource, as: resource_name, url: '/settings/account', html: { method: :put }) do |f| = devise_error_messages! = f.text_field :screen_name, autofocus: true, label: "User name"