diff options
-rw-r--r-- | app/views/refinery/blog/admin/categories/_form.html.erb | 2 | ||||
-rw-r--r-- | app/views/refinery/blog/admin/posts/_form.html.erb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/refinery/blog/admin/categories/_form.html.erb b/app/views/refinery/blog/admin/categories/_form.html.erb index 472f5d7..a0fd55b 100644 --- a/app/views/refinery/blog/admin/categories/_form.html.erb +++ b/app/views/refinery/blog/admin/categories/_form.html.erb @@ -4,7 +4,7 @@ :include_object_name => true %> <%= render '/refinery/admin/locale_picker', - :current_locale => Thread.current[:globalize_locale] if Refinery.i18n_enabled? %> + :current_locale => Globalize.locale %> <div class='field'> <%= f.label :title -%> diff --git a/app/views/refinery/blog/admin/posts/_form.html.erb b/app/views/refinery/blog/admin/posts/_form.html.erb index 5245e17..39cb318 100644 --- a/app/views/refinery/blog/admin/posts/_form.html.erb +++ b/app/views/refinery/blog/admin/posts/_form.html.erb @@ -4,7 +4,7 @@ :include_object_name => true %> <%= render '/refinery/admin/locale_picker', - :current_locale => Thread.current[:globalize_locale] if Refinery.i18n_enabled? %> + :current_locale => Globalize.locale %> <div class='field'> <%= f.label :title -%> |