aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilip Arndt <p@arndt.io>2013-07-14 04:30:04 +1200
committerPhilip Arndt <p@arndt.io>2013-07-14 04:30:04 +1200
commit6c14fbc20c8dece121b7569b7a5a0bd3c497fd57 (patch)
tree4592aa9f4815a07764c851929d925a09e95128d6
parenta66e5de6f6798c479dc95a1712d4b1cfe1e7f5f4 (diff)
downloadrefinerycms-blog-6c14fbc20c8dece121b7569b7a5a0bd3c497fd57.tar.gz
refinerycms-blog-6c14fbc20c8dece121b7569b7a5a0bd3c497fd57.tar.bz2
refinerycms-blog-6c14fbc20c8dece121b7569b7a5a0bd3c497fd57.zip
Cast user_class as string inside the initializer template.
-rw-r--r--lib/generators/refinery/blog/templates/config/initializers/refinery/blog.rb.erb2
1 files changed, 1 insertions, 1 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 4d61e5d..36b7b11 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
@@ -12,5 +12,5 @@ Refinery::Blog.configure do |config|
# config.page_url = <%= Refinery::Blog.page_url.inspect %>
# If you're grafting onto an existing app, change this to your User class
- # Refinery::Blog.user_class = <%= Refinery::Blog.user_class.inspect %>
+ # Refinery::Blog.user_class = <%= Refinery::Blog.user_class.to_s.inspect %>
end