diff options
author | Uģis Ozols <ugis.ozolss@gmail.com> | 2012-11-15 12:16:30 +0200 |
---|---|---|
committer | Uģis Ozols <ugis.ozolss@gmail.com> | 2012-11-15 12:16:30 +0200 |
commit | a3de72ecb24c46a72ce46bd99d9eef16175867f5 (patch) | |
tree | c4b8cfd6358db9517b8234979adbd45d78ac84cf /app/views/refinery | |
parent | 8219d07d9b78bb862616059a1b4b2b69b1c677e4 (diff) | |
download | refinerycms-blog-a3de72ecb24c46a72ce46bd99d9eef16175867f5.tar.gz refinerycms-blog-a3de72ecb24c46a72ce46bd99d9eef16175867f5.tar.bz2 refinerycms-blog-a3de72ecb24c46a72ce46bd99d9eef16175867f5.zip |
Remove Refinery.i18n_enabled? checks because refinerycms-i18n is now a hard dependency for refinerycms-core.
Diffstat (limited to 'app/views/refinery')
-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 559dbe1..f2148ea 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/blog/admin/shared/locale_picker", - :current_locale => Thread.current[:globalize_locale] if Refinery.i18n_enabled? %> + :current_locale => Thread.current[: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 4aac811..7b63520 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/blog/admin/shared/locale_picker", - :current_locale => Thread.current[:globalize_locale] if Refinery.i18n_enabled? %> + :current_locale => Thread.current[:globalize_locale] %> <div class='field'> <%= f.label :title -%> |