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

14 lines
398 B
Ruby
Raw Normal View History

2008-10-01 02:19:35 -04:00
Merb.logger.info("Compiling routes...")
Merb::Router.prepare do |r|
r.resources :sessions
r.resources :users
r.resources :people
r.resources :votes
r.resources :photos
r.resources :favorites
r.resources :stats
# r.default_routes
r.match('/').to( :controller => 'home', :action => 'index' )
r.match('/acceptable_use').to( :controller => 'home', :action => 'acceptable_use' )
end