diff --git a/config/environments/development.rb b/config/environments/development.rb index c8336b21..7dba4447 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -125,5 +125,5 @@ Rails.application.configure do # Set the NeoPass redirect callback URL. config.neopass_redirect_uri = - "http://localhost:3000/auth_users/auth/neopass/callback" + "http://localhost:3000/users/auth/neopass/callback" end diff --git a/config/environments/production.rb b/config/environments/production.rb index 32d4f8ab..7f026729 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -144,5 +144,5 @@ Rails.application.configure do # Set the NeoPass redirect callback URL. config.neopass_redirect_uri = - "https://impress.openneo.net/auth_users/auth/neopass/callback" + "https://impress.openneo.net/users/auth/neopass/callback" end diff --git a/config/environments/test.rb b/config/environments/test.rb index 79dd5eee..0fe9a411 100644 --- a/config/environments/test.rb +++ b/config/environments/test.rb @@ -80,5 +80,5 @@ Rails.application.configure do # Set the NeoPass redirect callback URL. config.neopass_redirect_uri = - "http://localhost:3000/auth_users/auth/neopass/callback" + "http://localhost:3000/users/auth/neopass/callback" end diff --git a/config/routes.rb b/config/routes.rb index c850c09a..d4909ddb 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -2,7 +2,7 @@ OpenneoImpressItems::Application.routes.draw do root :to => 'outfits#new' # Login and account management! - devise_for :auth_users + devise_for :auth_users, path: "users" # The outfit editor! # TODO: It's a bit silly that outfits/new points to outfits#edit.