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

Version Path
challah-rolls-0.2.0 vendor/bundle/gems/challah-0.8.0.pre/lib/challah/routes.rb
challah-0.8.2 lib/challah/routes.rb
challah-0.8.1 lib/challah/routes.rb
challah-0.8.0 lib/challah/routes.rb
challah-rolls-0.1.0 vendor/bundle/gems/challah-0.8.0.pre/lib/challah/routes.rb
challah-0.8.0.pre lib/challah/routes.rb
challah-0.7.1 lib/challah/routes.rb
challah-0.7.0 lib/challah/routes.rb
challah-0.7.0.pre2 lib/challah/routes.rb
challah-0.7.0.pre lib/challah/routes.rb
challah-0.6.2 lib/challah/routes.rb
challah-0.6.1 lib/challah/routes.rb
challah-0.6.0 lib/challah/routes.rb