diff options
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/blog_category.rb | 4 | ||||
-rw-r--r-- | app/models/blog_post.rb | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/app/models/blog_category.rb b/app/models/blog_category.rb index d813655..263982c 100644 --- a/app/models/blog_category.rb +++ b/app/models/blog_category.rb @@ -9,8 +9,8 @@ class BlogCategory < ActiveRecord::Base has_friendly_id :title, :use_slug => true, :default_locale => (::Refinery::I18n.default_frontend_locale rescue :en), - :approximate_ascii => RefinerySetting.find_or_set(:approximate_ascii, true, :scoping => 'blog'), - :strip_non_ascii => RefinerySetting.find_or_set(:strip_non_ascii, true, :scoping => 'blog') + :approximate_ascii => RefinerySetting.find_or_set(:approximate_ascii, false, :scoping => 'blog'), + :strip_non_ascii => RefinerySetting.find_or_set(:strip_non_ascii, false, :scoping => 'blog') def post_count posts.select(&:live?).count diff --git a/app/models/blog_post.rb b/app/models/blog_post.rb index 224070d..d287c6f 100644 --- a/app/models/blog_post.rb +++ b/app/models/blog_post.rb @@ -23,8 +23,8 @@ class BlogPost < ActiveRecord::Base has_friendly_id :title, :use_slug => true, :default_locale => (::Refinery::I18n.default_frontend_locale rescue :en), - :approximate_ascii => RefinerySetting.find_or_set(:approximate_ascii, true, :scoping => 'blog'), - :strip_non_ascii => RefinerySetting.find_or_set(:strip_non_ascii, true, :scoping => 'blog') + :approximate_ascii => RefinerySetting.find_or_set(:approximate_ascii, false, :scoping => 'blog'), + :strip_non_ascii => RefinerySetting.find_or_set(:strip_non_ascii, false, :scoping => 'blog') scope :by_archive, lambda { |archive_date| where(['published_at between ? and ?', archive_date.beginning_of_month, archive_date.end_of_month]) |