added developer login strategy for testing

This commit is contained in:
Andreas Stephanides
2018-06-02 12:01:18 +02:00
parent 52fcabf2dc
commit 52ffe0c701
5 changed files with 40 additions and 7 deletions

View File

@@ -72,6 +72,7 @@ end
end
end
devise_for :users , :controllers=>{:omniauth_callbacks=> "users/omniauth_callbacks"}
#match '/auth/:provider/callback', to: "session#new", via: [:get, :post]
scope '(:locale)', constraints: {:locale=>/en|de/i} do