lobby 0.0.14 → 0.0.15

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.
@@ -10,14 +10,14 @@ module Lobby
10
10
  if @user.active?
11
11
  session[:user_id] = @user.id
12
12
  flash.now[:success] = t( '.flash.success' )
13
- redirect_to root_url
13
+ redirect_to root_path
14
14
  else
15
15
  flash.now[:danger] = t( '.flash.error.not_active' )
16
- redirect_to log_in_url
16
+ redirect_to log_in_path
17
17
  end
18
18
  else
19
19
  flash.now[:danger] = t( '.flash.error.not_confirmed' )
20
- redirect_to confirm_url( :action => "registration" )
20
+ redirect_to confirm_path( :action => "registration" )
21
21
  end
22
22
  else
23
23
  flash.now[:danger] = t( '.flash.error.wrong_password_or_email' )
@@ -27,7 +27,7 @@ module Lobby
27
27
 
28
28
  def destroy
29
29
  session[:user_id] = nil
30
- redirect_to main_app.root_url, flash: {success: t( '.success' ) }
30
+ redirect_to root_path, flash: {success: t( '.success' ) }
31
31
  end
32
32
  end
33
33
  end
@@ -27,7 +27,7 @@ module Lobby
27
27
 
28
28
  def destroy
29
29
  session[:user_id] = nil
30
- redirect_to root_url, flash: {success: t( '.success' ) }
30
+ redirect_to main_app.root_url, flash: {success: t( '.success' ) }
31
31
  end
32
32
  end
33
33
  end
data/lib/lobby/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Lobby
2
- VERSION = "0.0.14"
2
+ VERSION = "0.0.15"
3
3
  end
@@ -1,3 +1,3 @@
1
1
  module Lobby
2
- VERSION = "0.0.13"
2
+ VERSION = "0.0.14"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lobby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.14
4
+ version: 0.0.15
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: