Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 53e68a0ccd
Fetching contributors…

Cannot retrieve contributors at this time

20 lines (14 sloc) 0.605 kb
ActionController::Routing::Routes.draw do |map|
map.resources :stacks
map.resources :pages
map.resources :pages
map.resources :hosts
map.resources :roles
map.root :controller => "main"
# named routes
map.exercise_performance '/hosts/:id/exercise_performance', :controller => 'hosts', :action => 'exercise_performance'
map.exercise_memory '/hosts/:id/exercise_memory', :controller => 'hosts', :action => 'exercise_memory'
# Install the default routes as the lowest priority.
map.connect ':controller/:action/:id'
map.connect ':controller/:action/:id.:format'
end
Jump to Line
Something went wrong with that request. Please try again.