hi, i have setting this rule on my route.rb:

map.typo '/my_custom_name1/:id/my_custom_name2/:alpha', :namespace =>
'front', :controller => 'locations', :action => 'typo_locations', :alpha
=> { :alpha => :get }



in the view for create link :


link_to( letter, typo_path( obj.id, :alpha => letter ) )



it works, but in my browser i display this URL:

http://localhost:3000/my_custom_name1/10?alpha=A



instead i want to display this:

http://localhost:3000/my_custom_name1/10/my_custom_name2/A


how can obtain the result?
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to