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, { method: 'POST'}
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 '/log_in' => "sessions#create", as: 'user_log_in'
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
 
@@ -1,3 +1,3 @@
1
1
  module UserMgmt
2
- VERSION = "0.3.3"
2
+ VERSION = "0.3.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: user_mgmt
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.3
4
+ version: 0.3.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: