I trying to update devise user attributes from another controller.
here is form
= form_for @client, url: { action: 'update', controller: '/registrations'} , :html => { method: :patch } do |f|
= f.text_field :name
= f.text_field :email
= f.text_field :phone
= f.submit
but shell show me an error
No route matches {:action=>"update", :controller=>"registrations", :id=>"5"}
how fix it?
sorry for my bad English