Sha256: 7be2038512833778070915de610b7e6735093048c6ea096774648ad3406e2d31

Contents?: true

Size: 454 Bytes

Versions: 29

Compression:

Stored size: 454 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'
  map.forgot '/forgot', :controller => 'users', :action => 'forgot'
  map.reset 'reset/:reset_code', :controller => 'users', :action => 'reset'

end

Version data entries

29 entries across 29 versions & 2 rubygems

Version Path
refinerycms-0.9.6.14 vendor/plugins/authentication/config/routes.rb
refinerycms-0.9.6.13 vendor/plugins/authentication/config/routes.rb
refinerycms-0.9.6.12 vendor/plugins/authentication/config/routes.rb
refinerycms-0.9.6.11 vendor/plugins/authentication/config/routes.rb
refinerycms-0.9.6.10 vendor/plugins/authentication/config/routes.rb
refinerycms-0.9.6.9 vendor/plugins/authentication/config/routes.rb
refinerycms-0.9.6.8 vendor/plugins/authentication/config/routes.rb
refinerycms-0.9.6.7 vendor/plugins/authentication/config/routes.rb
refinerycms-0.9.6.6 vendor/plugins/authentication/config/routes.rb