mirror of
https://github.com/Fishwaldo/huginn.git
synced 2025-03-15 19:31:26 +00:00
Remove the constraints on services callback, since there is a spec against it.
This commit is contained in:
parent
87ad26301b
commit
2f1ff3192c
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ Huginn::Application.routes.draw do
|
|||
post "/users/:user_id/update_location/:secret" => "web_requests#update_location" # legacy
|
||||
|
||||
match '/auth/:provider/callback', to: 'services#callback',
|
||||
via: [:get, :post], constraints: { provider: Regexp.union(Devise.omniauth_providers.map(&:to_s)) }
|
||||
via: [:get, :post] #, constraints: { provider: Regexp.union(Devise.omniauth_providers.map(&:to_s)) }
|
||||
devise_for :users, :sign_out_via => [ :post, :delete ]
|
||||
|
||||
get "/about" => "home#about"
|
||||
|
|
Loading…
Add table
Reference in a new issue