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