user_mgmt 0.3.3 → 0.3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -15,7 +15,7 @@ module UserMgmt
|
|
15
15
|
|
16
16
|
if response[:status] == "200"
|
17
17
|
flash[:success] = "User was created succesfully!"
|
18
|
-
redirect_to user_log_in_path
|
18
|
+
redirect_to user_log_in_path
|
19
19
|
else
|
20
20
|
flash[:warning] = response[:body]
|
21
21
|
redirect_to sign_up_path
|
data/config/routes.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
UserMgmt::Engine.routes.draw do
|
2
2
|
|
3
3
|
get '/log_in' => "sessions#new", as: 'log_in'
|
4
|
-
post '/
|
4
|
+
post '/user_log_in' => "sessions#create", as: 'user_log_in'
|
5
5
|
get '/log_out' => "sessions#destroy", as: 'log_out'
|
6
6
|
post '/oauth_log_in' => "sessions#create_oauth", as: 'oauth_log_in'
|
7
7
|
|
data/lib/user_mgmt/version.rb
CHANGED