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/officeGetting 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.
--
Thanks & Regards,
Abhishek P Shukla
Mobile: 91-9879995401
Mail:
shukla.a...@gmail.com