Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- scope "(:locale)", locale: /en|es|fr/ do
- get 'hotels/main'
- get 'hotel1/home'
- get 'hotel1/gallery'
- ...
- get 'hotel2/home'
- get 'hotel2/gallery'
- ...
- end
- (/:locale)/hotels/main(.:format)
- (/:locale)/hotel1/home(.:format)
- ...
- (/:locale)/hotel2/home(.:format)
- ...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement