Sha256: 0407a06b4a0f114aecbae519169612d6ef72220312bc35050bf4f129c3b17fce

Contents?: true

Size: 548 Bytes

Versions: 15

Compression:

Stored size: 548 Bytes

Contents

ActionController::Routing::Routes.draw do |map|

  map.resource :session
  map.reset_users '/users/reset/:reset_code', :controller => 'users', :action => 'reset'
  map.resources :users, :only => [:new, :create], :collection => {:forgot => :get, :reset => :get}

  map.namespace(:admin, :path_prefix => 'refinery') do |admin|
    admin.resources :users, :collection => {:update_positions => :post}
  end

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

end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
refinerycms-0.9.7.15 vendor/plugins/authentication/config/routes.rb
refinerycms-0.9.7.14 vendor/plugins/authentication/config/routes.rb
refinerycms-0.9.7.13 vendor/plugins/authentication/config/routes.rb
refinerycms-0.9.7.11 vendor/plugins/authentication/config/routes.rb
refinerycms-0.9.7.10 vendor/plugins/authentication/config/routes.rb
refinerycms-0.9.7.9 vendor/plugins/authentication/config/routes.rb
refinerycms-0.9.7.8 vendor/plugins/authentication/config/routes.rb
refinerycms-0.9.7.7 vendor/plugins/authentication/config/routes.rb
refinerycms-0.9.7.6 vendor/plugins/authentication/config/routes.rb
refinerycms-0.9.7.5 vendor/plugins/authentication/config/routes.rb
refinerycms-0.9.7.4 vendor/plugins/authentication/config/routes.rb
refinerycms-0.9.7.3 vendor/plugins/authentication/config/routes.rb
refinerycms-0.9.7.2 vendor/plugins/authentication/config/routes.rb
refinerycms-0.9.7.1 vendor/plugins/authentication/config/routes.rb
refinerycms-0.9.7 vendor/plugins/authentication/config/routes.rb