Sha256: 2f83cb0e4dd5346b06ec8265a1d3b83980fdd3d2dce4d4ac26c8b4801def3059
Contents?: true
Size: 662 Bytes
Versions: 17
Compression:
Stored size: 662 Bytes
Contents
ActionController::Routing::Routes.draw do |map| # NB: Engine routes are loaded FIRST from Rails v2.3 onward. # The priority is based upon order of creation: first created -> highest priority. map.root :controller => "pages", :action => "home" map.namespace(:admin) do |admin| admin.root :controller => 'dashboard', :action => 'index' end # Install the default routes as the lowest priority. map.connect ':controller/:action/:id' map.connect ':controller/:action/:id.:format' map.connect 'admin/*path', :controller => 'admin/base', :action => 'error_404' map.connect '*path', :controller => 'application', :action => 'error_404' end
Version data entries
17 entries across 17 versions & 1 rubygems