Sha256: e6538a47aed635d0c41505f1c30ccbaaf6ddfdab004e3a0e189ee1469d984222

Contents?: true

Size: 300 Bytes

Versions: 4

Compression:

Stored size: 300 Bytes

Contents

OpenSesame::Engine.routes.draw do
  root :to => "sessions#new"

  match '/:provider/callback', :to => 'sessions#create'
  match '/:provider/failure', :to => 'sessions#failure'
  match '/login', :to => 'sessions#new', :as => :sign_in
  match '/logout', :to => 'sessions#destroy', :as => :sign_out
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
opensesame-0.2.0 config/routes.rb
opensesame-0.1.2 config/routes.rb
opensesame-0.1.1 config/routes.rb
opensesame-0.1.0 config/routes.rb