Sha256: c24c4aa8a942b09a2d165889684e3e87cd10b5138a7aac95bb7b11a8189dc7f2

Contents?: true

Size: 439 Bytes

Versions: 3

Compression:

Stored size: 439 Bytes

Contents

Rails.application.routes.draw do  
  match '/_', :to => 'session#index', :as => 'base'
  
  match '/login' => 'challah/sessions#create', :as => 'authenticate', :via => :post
  match '/login' => 'challah/sessions#new', :as => 'login', :via => :get
  match '/logout' => 'challah/sessions#destroy', :as => 'logout'
  
  # These are used for testing purposes only.
  match '/__challah__/:action', :controller => 'challah/test/restrictions'
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
challah-0.3.0 lib/challah/routes.rb
challah-0.2.1 lib/challah/routes.rb
challah-0.2.0 lib/challah/routes.rb