Sha256: c21625486786926589a16970c27082f83f52f285baeb0f9edd1b59494d750ca9
Contents?: true
Size: 700 Bytes
Versions: 13
Compression:
Stored size: 700 Bytes
Contents
Rails.application.routes.draw do unless Challah.options[:skip_routes] match '/sign-in', :to => 'sessions#create', :as => 'authenticate', :via => :post match '/sign-in', :to => 'sessions#new', :as => 'signin', :via => :get match '/sign-out', :to => 'sessions#destroy', :as => 'signout' match '/login', :to => 'sessions#create', :via => :post match '/login', :to => 'sessions#new', :as => 'login', :via => :get match '/logout', :to => 'sessions#destroy', :as => 'logout' end # These are used for testing purposes only. if Rails.env.test? match '/challah/:action', :controller => 'challah/test/restrictions' end end
Version data entries
13 entries across 13 versions & 2 rubygems