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
304 B
Ruby

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