corn_starch 1.9.28 → 1.9.29
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/corn_starch/sessions_controller.rb +1 -1
- data/lib/corn_starch/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 942e7c5392df609582946b1b334378935e2b8bc8
|
4
|
+
data.tar.gz: 73d1923a3911a02866961d3a98fa10c078135b1f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 47b6cb7bc261d83922dee8b250ab21b5fde50fe4ca9596780f631d1ee5890c97b07497c73782d81926b5d2fa7fa9394e6cc81f0964255b1676d1e9ea385ec602
|
7
|
+
data.tar.gz: c9795191aa433738617eaaa00da76b4b4c5a706457eb4abfa43e01b7ab673954f08e34e01421c8e8062cbd33d816875bbeb7dd9e6551930c0f3cb74c1255c838
|
@@ -27,7 +27,7 @@ module CornStarch
|
|
27
27
|
session[:user_id] = @user.id
|
28
28
|
session[:loaded_user_locale] = false
|
29
29
|
I18n.locale = @user.locale
|
30
|
-
redirect_to (params[:back] ? :back : root_url), notice: notice_msg(nil, nil, :login, :pass)
|
30
|
+
redirect_to (params[:back] == 'true' ? :back : root_url), notice: notice_msg(nil, nil, :login, :pass)
|
31
31
|
else
|
32
32
|
flash.now[:alert] = notice_msg(nil, nil, :login, :fail)
|
33
33
|
render action: :new
|
data/lib/corn_starch/version.rb
CHANGED