aboutsummaryrefslogtreecommitdiffstats
path: root/generators/refinery_blog
diff options
context:
space:
mode:
authorPhilip Arndt <parndt@gmail.com>2010-08-11 16:38:53 +1200
committerPhilip Arndt <parndt@gmail.com>2010-08-11 16:38:53 +1200
commitac0b754237045f6139106bd04e56b398e89ff9bd (patch)
tree3c532102404c5f796e22c691b7bb71bd1d080edd /generators/refinery_blog
parent64c036501c9cd6f1ddd98dbfdfdf0436ed706283 (diff)
downloadrefinerycms-blog-ac0b754237045f6139106bd04e56b398e89ff9bd.tar.gz
refinerycms-blog-ac0b754237045f6139106bd04e56b398e89ff9bd.tar.bz2
refinerycms-blog-ac0b754237045f6139106bd04e56b398e89ff9bd.zip
Adds unmoderated support through changing approved to state.
Diffstat (limited to 'generators/refinery_blog')
-rw-r--r--generators/refinery_blog/refinery_blog_generator.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/generators/refinery_blog/refinery_blog_generator.rb b/generators/refinery_blog/refinery_blog_generator.rb
index d18268b..304ea39 100644
--- a/generators/refinery_blog/refinery_blog_generator.rb
+++ b/generators/refinery_blog/refinery_blog_generator.rb
@@ -31,7 +31,7 @@ class RefineryBlogGenerator < Rails::Generator::NamedBase
Rails::Generator::GeneratedAttribute.new('name', 'string'),
Rails::Generator::GeneratedAttribute.new('email', 'string'),
Rails::Generator::GeneratedAttribute.new('body', 'text'),
- Rails::Generator::GeneratedAttribute.new('approved', 'boolean'),
+ Rails::Generator::GeneratedAttribute.new('state', 'string'),
Rails::Generator::GeneratedAttribute.new('blog_post_id', 'integer')
], :id => true
},{