Sha256: ecf2fe1e772a7b6761f7359a2b1eccf01af8acc7214269fe9bf5d10949daecbc

Contents?: true

Size: 826 Bytes

Versions: 8

Compression:

Stored size: 826 Bytes

Contents

Rails.application.routes.draw do

  # This line mounts Socialite's routes at /socialite by default.
  # This means, any requests to the /socialite URL of your application will go
  # to Socialite::SessionsController#new. If you would like to change where
  # this extension is mounted, simply change the :at option to something
  # different.
  #
  # We ask that you don't use the :as option here, as Socialite relies on it
  # being the default of "socialite"
  mount Socialite::Engine, :at => '/socialite'
  match '/login' => 'socialite::sessions#new'
  match '/logout', :to => 'socialite::sessions#destroy'
  match '/signup', :to => 'socialite::users#new'
  match '/auth/:provider/callback', :to => 'socialite::sessions#create'
  match '/auth/failure', :to => 'socialite::sessions#failure'

  root :to => "pages#index"
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
socialite-0.1.2 spec/dummy/config/routes.rb
socialite-0.1.1 spec/dummy/config/routes.rb
socialite-0.1.0.pre.7 spec/dummy/config/routes.rb
socialite-0.1.0.pre.6 spec/dummy/config/routes.rb
socialite-0.1.0.pre.5 spec/dummy/config/routes.rb
socialite-0.1.0.pre.4 spec/dummy/config/routes.rb
socialite-0.1.0.pre.3 spec/dummy/config/routes.rb
socialite-0.1.0.pre.2 spec/dummy/config/routes.rb