Displaying 1 result from an estimated 1 matches for "member_profile_edit_address".
2008 Jun 14
0
NameError and routing problem
...|
member.resource :profile, :controller => ''profile'' do |profile|
profile.edit_address ''address/:id/edit'', :action =>
''edit_address'', :conditions => { :method => :get }
end
end
which nicely creates (among others):
member_profile_edit_address GET /member/profile/address/:id/edit
{:action=>"edit_address", :controller=>"member/profile/"}
Unfortunately, when I use this like so:
<%= link_to(''Edit'', member_profile_edit_address(@member.address.id))
%>
which generates for example:
<...