typus 0.9.24 → 0.9.25
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/typus/locale.rb +1 -1
- data/typus.gemspec +1 -1
- metadata +1 -1
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.9.
|
1
|
+
0.9.25
|
data/lib/typus/locale.rb
CHANGED
@@ -12,7 +12,7 @@ module Typus
|
|
12
12
|
begin
|
13
13
|
I18n.locale = @current_user.preferences[:locale]
|
14
14
|
rescue
|
15
|
-
@current_user.update_attributes :preferences => { :locale =>
|
15
|
+
@current_user.update_attributes :preferences => { :locale => Typus.default_locale }
|
16
16
|
retry
|
17
17
|
end
|
18
18
|
end
|
data/typus.gemspec
CHANGED