aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/refinery
diff options
context:
space:
mode:
authorUģis Ozols <ugis.ozolss@gmail.com>2012-11-15 12:16:30 +0200
committerUģis Ozols <ugis.ozolss@gmail.com>2012-11-15 12:16:30 +0200
commita3de72ecb24c46a72ce46bd99d9eef16175867f5 (patch)
treec4b8cfd6358db9517b8234979adbd45d78ac84cf /app/controllers/refinery
parent8219d07d9b78bb862616059a1b4b2b69b1c677e4 (diff)
downloadrefinerycms-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/controllers/refinery')
-rw-r--r--app/controllers/refinery/blog/posts_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/refinery/blog/posts_controller.rb b/app/controllers/refinery/blog/posts_controller.rb
index 6c9049d..ed94a8d 100644
--- a/app/controllers/refinery/blog/posts_controller.rb
+++ b/app/controllers/refinery/blog/posts_controller.rb
@@ -76,7 +76,7 @@ module Refinery
protected
def canonical?
- ::Refinery.i18n_enabled? && ::Refinery::I18n.default_frontend_locale != ::Refinery::I18n.current_frontend_locale
+ Refinery::I18n.default_frontend_locale != Refinery::I18n.current_frontend_locale
end
end
end