Hello Friends,

I have a requirement where I want to Have the following url "
http://www.example.com/*andy.something*/office"; where *andy.something is a
dynamic value.

*Now I am using a namespace which is
:controller=>"system/office/office_profiles"

and I have declared the route

map.office_profile_link '/:profile_link/office', :controller =>
"system/office/office_profiles", :action => "show", :conditions => { :method
=> :get }

But when I am trying to access

http://www.example.com/*andy.something*/office

Getting the following error

Routing Error

No route matches "/andy.something/office" with {:method=>:get}



So Please let me know where I am getting wrong.

Thanks
Abhis.

--

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