Sha256: c7df0df94612321459aad37e169498b87bcaa1fcb8ea0ad01cf83abab93029fc
Contents?: true
Size: 668 Bytes
Versions: 28
Compression:
Stored size: 668 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
28 entries across 28 versions & 1 rubygems