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