Sha256: fd277502becfa50184fd71326893b80ca369f8d7d30dd4f45bf767329169c014

Contents?: true

Size: 413 Bytes

Versions: 2

Compression:

Stored size: 413 Bytes

Contents

# This is a template for the Route file
OmniauthDemo::Application.routes.draw do
  get "sessions/create"

  # The priority is based upon order of creation:
  # first created -> highest priority.

  #add our oauth redirect route - qw
  match '/auth/:provider/callback', :to => 'sessions#create'
  match '/auth/failure', :to => 'sessions#fail'


end

#TODO, need to dynamically add to the Application's Route class.

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
asf-rest-adapter-0.3.3 lib/Salesforce/oauth2/routes/routes.rb
asf-rest-adapter-0.3.2 lib/Salesforce/oauth2/routes/routes.rb