corn_starch 1.9.27 → 1.9.28
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 +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 32d500f66c378f2f4bf973187f6cf0a4db428eac
|
4
|
+
data.tar.gz: 97b977fe0462de54a127c1696d259fb5bf82dae0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7f5080589898f2f2c6bb80ee26efa695fb1751c0da99f8982e8a0931c0e8eabfabb0f7bf1dadd9e3e5fd671f25c87724626e7bb343473e6b2e6c723b5802175c
|
7
|
+
data.tar.gz: fecdd0d26e1b7b5df8bb97b72508a30d06ec61461b7be32c02ae78bc09a98b4343581096cfe3215b141ecb3b3d550731f51b9e39b0b743f593f16821be7901ad
|
@@ -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 :back, notice: notice_msg(nil, nil, :login, :pass)
|
30
|
+
redirect_to (params[:back] ? :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
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: corn_starch
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.9.
|
4
|
+
version: 1.9.28
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eresse
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-07-
|
11
|
+
date: 2016-07-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|