This repository has been archived on 2020-05-27. You can view files and clone it, but cannot push or open issues/pull-requests.
barleysodas/config/routes.rb

11 lines
431 B
Ruby
Raw Normal View History

ActionController::Routing::Routes.draw do |map|
map.connect '', :controller => 'pages', :action => 'default_action'
map.resources :pages, :roles, :sessions, :styles, :galleries, :tag_images,
:friends, :experiences, :invitations, :peoples, :discussions
map.resources :breweries do |breweries|
breweries.resources :beers
end
map.connect ':controller/:action/:id.:format'
map.connect ':controller/:action/:id'
end