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

Version Path
jacobat-refinerycms-0.9.6.14 config/routes.rb
refinerycms-0.9.6.34 config/routes.rb
refinerycms-0.9.6.33 config/routes.rb
refinerycms-0.9.6.32 config/routes.rb
refinerycms-0.9.6.31 config/routes.rb
refinerycms-0.9.6.30 config/routes.rb
refinerycms-0.9.6.29 config/routes.rb
refinerycms-0.9.6.28 config/routes.rb
refinerycms-0.9.6.27 config/routes.rb
refinerycms-0.9.6.26 config/routes.rb
refinerycms-0.9.6.25 config/routes.rb
refinerycms-0.9.6.24 config/routes.rb
refinerycms-0.9.6.23 config/routes.rb
refinerycms-0.9.6.22 config/routes.rb
refinerycms-0.9.6.21 config/routes.rb
refinerycms-0.9.6.19 config/routes.rb
refinerycms-0.9.6.18 config/routes.rb
refinerycms-0.9.6.17 config/routes.rb
refinerycms-0.9.6.16 config/routes.rb
refinerycms-0.9.6.15 config/routes.rb