aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorPhilip Arndt <parndt@gmail.com>2012-02-27 17:08:37 +1300
committerPhilip Arndt <parndt@gmail.com>2012-02-27 17:08:37 +1300
commit594dd8ca96f9a0e06dd28d2176653855e39a43e2 (patch)
treedbac325e354b3266428fd0444a708173766266fa /lib
parent837ddfe42bfd906f79e2a28608dd6af988511e64 (diff)
downloadrefinerycms-blog-594dd8ca96f9a0e06dd28d2176653855e39a43e2.tar.gz
refinerycms-blog-594dd8ca96f9a0e06dd28d2176653855e39a43e2.tar.bz2
refinerycms-blog-594dd8ca96f9a0e06dd28d2176653855e39a43e2.zip
Now supporting FriendlyId 4
Diffstat (limited to 'lib')
-rw-r--r--lib/generators/refinery/blog/templates/config/initializers/refinery/blog.rb.erb4
-rw-r--r--lib/refinery/blog/configuration.rb4
2 files changed, 1 insertions, 7 deletions
diff --git a/lib/generators/refinery/blog/templates/config/initializers/refinery/blog.rb.erb b/lib/generators/refinery/blog/templates/config/initializers/refinery/blog.rb.erb
index 8a2bc8e..ac340d7 100644
--- a/lib/generators/refinery/blog/templates/config/initializers/refinery/blog.rb.erb
+++ b/lib/generators/refinery/blog/templates/config/initializers/refinery/blog.rb.erb
@@ -7,9 +7,5 @@ Refinery::Blog.configure do |config|
# config.post_teaser_length = <%= Refinery::Blog.post_teaser_length.inspect %>
- # config.approximate_ascii = <%= Refinery::Blog.approximate_ascii.inspect %>
-
- # config.strip_non_ascii = <%= Refinery::Blog.strip_non_ascii.inspect %>
-
# config.share_this_key = <%= Refinery::Blog.share_this_key.inspect %>
end
diff --git a/lib/refinery/blog/configuration.rb b/lib/refinery/blog/configuration.rb
index 5780a3e..0f00501 100644
--- a/lib/refinery/blog/configuration.rb
+++ b/lib/refinery/blog/configuration.rb
@@ -3,14 +3,12 @@ module Refinery
include ActiveSupport::Configurable
config_accessor :validate_source_url, :comments_per_page, :posts_per_page,
- :post_teaser_length, :approximate_ascii, :strip_non_ascii, :share_this_key
+ :post_teaser_length, :share_this_key
self.validate_source_url = false
self.comments_per_page = 10
self.posts_per_page = 10
self.post_teaser_length = 250
- self.approximate_ascii = false
- self.strip_non_ascii = false
self.share_this_key = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
end
end