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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5e71395bff096ada1063d702078d40830c74ac17
4
- data.tar.gz: 15281e7a30fdc12cd41319e0a38a927008e4b9f6
3
+ metadata.gz: 32d500f66c378f2f4bf973187f6cf0a4db428eac
4
+ data.tar.gz: 97b977fe0462de54a127c1696d259fb5bf82dae0
5
5
  SHA512:
6
- metadata.gz: 5188b14da292eff903395b341bde1168924d3d0f7afe5ef1f102cf05d7252d547c4b2d59321a5fbf55f8bd869c06f348703f88eb17773a3532f510aa00e09760
7
- data.tar.gz: f09dc98e9c46cbff35ae130497b04e7f8ca6465e71680310b7ee380bf619ec7d08d7de8c86d4b32231bd629bbe440986a97be5dc5f2fa8cfe1d9f31efec1103c
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
@@ -1,3 +1,3 @@
1
1
  module CornStarch
2
- VERSION = '1.9.27'
2
+ VERSION = '1.9.28'
3
3
  end
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.27
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-06 00:00:00.000000000 Z
11
+ date: 2016-07-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler