localyzed 0.0.3.6 → 0.0.3.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -15,6 +15,7 @@ module Localyzed::LocalyzedController
15
15
  locale = I18n.locale = cl
16
16
  session[:locale] = locale
17
17
  else
18
+ current_user.try(:update_attributes,{:language => params[:locale]}) if params[:locale] && cl.try(:!=, params[:locale])
18
19
  define_locale
19
20
  end
20
21
  end
@@ -1,3 +1,3 @@
1
1
  module Localyzed
2
- VERSION = "0.0.3.6"
2
+ VERSION = "0.0.3.7"
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.3.6
4
+ version: 0.0.3.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: