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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 32d500f66c378f2f4bf973187f6cf0a4db428eac
4
- data.tar.gz: 97b977fe0462de54a127c1696d259fb5bf82dae0
3
+ metadata.gz: 942e7c5392df609582946b1b334378935e2b8bc8
4
+ data.tar.gz: 73d1923a3911a02866961d3a98fa10c078135b1f
5
5
  SHA512:
6
- metadata.gz: 7f5080589898f2f2c6bb80ee26efa695fb1751c0da99f8982e8a0931c0e8eabfabb0f7bf1dadd9e3e5fd671f25c87724626e7bb343473e6b2e6c723b5802175c
7
- data.tar.gz: fecdd0d26e1b7b5df8bb97b72508a30d06ec61461b7be32c02ae78bc09a98b4343581096cfe3215b141ecb3b3d550731f51b9e39b0b743f593f16821be7901ad
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
@@ -1,3 +1,3 @@
1
1
  module CornStarch
2
- VERSION = '1.9.28'
2
+ VERSION = '1.9.29'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: corn_starch
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.28
4
+ version: 1.9.29
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eresse