fix and cleanup routing (closes foodcoops#190)

This commit is contained in:
wvengen 2013-10-30 01:56:23 +01:00
parent 70c12b7c1f
commit de948d7692
9 changed files with 21 additions and 18 deletions

View file

@ -5,7 +5,7 @@
%h3
= h(t('.user.title', user: @current_user.nick))
%small= t '.user.since', when: distance_of_time_in_words(Time.now, @current_user.created_on)
= simple_form_for(@current_user, :url => { :action => 'update_profile'}) do |f|
= simple_form_for(@current_user, :url => update_profile_path) do |f|
= render :partial => 'shared/user_form_fields', :locals => {:f => f}
.form-actions
= submit_tag t('ui.save'), class: 'btn'