Sha256: 3e9bef8d155f54db5826de10f4107c556426e1543917cce1093b087220b57ec5

Contents?: true

Size: 417 Bytes

Versions: 1

Compression:

Stored size: 417 Bytes

Contents

Socialite::Engine.routes.draw do
  match '/login'                  => 'session#new',      :as => :login
  match '/auth/:service/callback' => 'identities#create', :as => :callback
  match '/auth/failure'           => 'identities#failure'
  match '/logout'                 => 'session#destroy',  :as => :logout

  resource :user, :controller => 'user', :except => [:new, :create] do
    resources :identities
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
socialite-0.0.1.beta2 config/routes.rb