Sha256: dc9cf5f5dbe97b84325106d7a7267dab2e524b661829aec3f5e3169c7bcd2adb

Contents?: true

Size: 306 Bytes

Versions: 28

Compression:

Stored size: 306 Bytes

Contents

ActionController::Routing::Routes.draw do |map|
  map.resources :users
  map.resource :session
  map.namespace(:admin) do |admin|
    admin.resources :users
  end

  map.login  '/login', :controller => 'sessions', :action => 'new'
  map.logout '/logout', :controller => 'sessions', :action => 'destroy'
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
refinerycms-0.9.5.13 vendor/plugins/authentication/config/routes.rb
refinerycms-0.9.5.12 vendor/plugins/authentication/config/routes.rb
refinerycms-0.9.5.11 vendor/plugins/authentication/config/routes.rb
refinerycms-0.9.5.10 vendor/plugins/authentication/config/routes.rb
refinerycms-0.9.5.9 vendor/plugins/authentication/config/routes.rb
refinerycms-0.9.5.8 vendor/plugins/authentication/config/routes.rb
refinerycms-0.9.5.7 vendor/plugins/authentication/config/routes.rb
refinerycms-0.9.5.6 vendor/plugins/authentication/config/routes.rb
refinerycms-0.9.5.5 vendor/plugins/authentication/config/routes.rb
refinerycms-0.9.5.4 vendor/plugins/authentication/config/routes.rb
refinerycms-0.9.5.3 vendor/plugins/authentication/config/routes.rb
refinerycms-0.9.5.2 vendor/plugins/authentication/config/routes.rb
refinerycms-0.9.5.1 vendor/plugins/authentication/config/routes.rb
refinerycms-0.9.5 vendor/plugins/authentication/config/routes.rb
refinerycms-0.9.4.5 vendor/plugins/authentication/config/routes.rb
refinerycms-0.9.4.4 vendor/plugins/authentication/config/routes.rb
refinerycms-0.9.4.3 vendor/plugins/authentication/config/routes.rb
refinerycms-0.9.4.2 vendor/plugins/authentication/config/routes.rb
refinerycms-0.9.4.1 vendor/plugins/authentication/config/routes.rb
refinerycms-0.9.4 vendor/plugins/authentication/config/routes.rb