gitlab auth - needs test fix
This commit is contained in:
@ -5,6 +5,10 @@ defaults: &defaults
|
||||
mysql_usr: "user"
|
||||
mysql_pwd: "password"
|
||||
full_app_url: "localhost:3000"
|
||||
gitlab_oauth: provider-url
|
||||
gitlab_client: client-id
|
||||
gitlab_secret: client-secret
|
||||
gitlab_callback: local-callback
|
||||
|
||||
development:
|
||||
<<: *defaults
|
||||
|
@ -1,6 +1,12 @@
|
||||
Rails.application.routes.draw do
|
||||
resources :accounts
|
||||
get 'accounts/reveal/:id', to: 'accounts#reveal', as: :reveal_password
|
||||
resources :accounts
|
||||
|
||||
get "logout", to: "auth#logout", as: :logout
|
||||
get "login", to: "auth#login", as: :login
|
||||
get "auth", to: "auth#auth", as: :auth
|
||||
get "auth/callback", to: 'auth#callback'
|
||||
|
||||
root to: "accounts#index"
|
||||
# For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
|
||||
end
|
||||
|
Reference in New Issue
Block a user