Update Devise paths to be at /users instead of /auth_users
Been bothering me for a bit, and now I'm about to submit my official redirect URL to the Neopets eng team so, let's polish this up!
This commit is contained in:
parent
f4133f8283
commit
812700248e
4 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue