Hi,
I want to add a locale to my admin routes , currently I have routes such
as
map.resources :gigs, :path_prefix => '/:locale'
So /en/gigs etc works, now I want to do /en/admin/venues
What can do to the following routes to make it work
map.namespace :admin do |admin|
admin.resources :venues
end
Any ideas?
Thanks
on 2010-06-19 16:52
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.