From 45cad84f4986ec9a1d78a5ced1a842f7a9048b5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?U=C4=A3is=20Ozols?= Date: Thu, 16 Feb 2012 08:12:53 +0200 Subject: Generate blog initializer when running rails g refinery:blog. Closes #196. --- .../templates/config/initializers/refinery/blog.rb.erb | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 lib/generators/refinery/blog/templates/config/initializers/refinery/blog.rb.erb (limited to 'lib/generators/refinery/blog/templates/config/initializers') 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 new file mode 100644 index 0000000..8a2bc8e --- /dev/null +++ b/lib/generators/refinery/blog/templates/config/initializers/refinery/blog.rb.erb @@ -0,0 +1,15 @@ +Refinery::Blog.configure do |config| + # config.validate_source_url = <%= Refinery::Blog.validate_source_url.inspect %> + + # config.comments_per_page = <%= Refinery::Blog.comments_per_page.inspect %> + + # config.posts_per_page = <%= Refinery::Blog.posts_per_page.inspect %> + + # 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 -- cgit v1.2.3