Sha256: 3cd010c31a72e580a95834fa3a5beaf4ae0f281f34e2ade8f28699ebf79b1843

Contents?: true

Size: 358 Bytes

Versions: 4

Compression:

Stored size: 358 Bytes

Contents

Socialite::Engine.routes.draw do
  match '/signup', :to => 'users#new', via: [:get]
  match '/auth/:provider/callback', :to => 'sessions#create', via: [:post]

  match '/logout', :to => 'sessions#destroy', :as => 'logout', via: [:all]
  match '/login', :to => 'sessions#new', :as => 'login', via: [:get]

  resources :users # needed by omniauth-identity
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
socialite-0.2.1 config/routes.rb
socialite-0.2.0 config/routes.rb
socialite-0.1.2 config/routes.rb
socialite-0.1.1 config/routes.rb