Sha256: 7e8e134aaf16e2599b332024bc9512d020081b47ffd2983446e512dff779d55a
Contents?: true
Size: 744 Bytes
Versions: 36
Compression:
Stored size: 744 Bytes
Contents
ActionController::Routing::Routes.draw do |map| # NB: Engine routes are loaded FIRST from Rails v2.3 onward. # These routes are contained within vendor/plugins/engine_name/config/routes.rb # 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
36 entries across 36 versions & 2 rubygems