localyzed 0.0.1.2 → 0.0.1.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -38,7 +38,7 @@ class ActionController::Base
38
38
 
39
39
  def define_locale
40
40
  requested_locale = params[:locale] || session[:locale] || cookies[:locale] || request.env['HTTP_ACCEPT_LANGUAGE'] || I18n.default_locale
41
- session[:locale] = locale
42
- I18n.locale = locale
41
+ session[:locale] = requested_locale
42
+ I18n.locale = requested_locale
43
43
  end
44
44
  end
@@ -1,3 +1,3 @@
1
1
  module Localyzed
2
- VERSION = "0.0.1.2"
2
+ VERSION = "0.0.1.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: localyzed
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1.2
4
+ version: 0.0.1.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: