diff options
author | Pete Higgins <pete@peterhiggins.org> | 2012-01-26 16:58:04 -0800 |
---|---|---|
committer | Pete Higgins <pete@peterhiggins.org> | 2012-01-26 16:58:04 -0800 |
commit | c89b4dfc1f9f3dea8d7b39cfdc85cae211c6f2c1 (patch) | |
tree | 438c53d97cd48b8acd5141f688c18255239d39e9 /app/models/refinery | |
parent | 6b1fcc8ea19cf076b2d02ceee4bd26e06f6728a1 (diff) | |
download | refinerycms-blog-c89b4dfc1f9f3dea8d7b39cfdc85cae211c6f2c1.tar.gz refinerycms-blog-c89b4dfc1f9f3dea8d7b39cfdc85cae211c6f2c1.tar.bz2 refinerycms-blog-c89b4dfc1f9f3dea8d7b39cfdc85cae211c6f2c1.zip |
attr_accessible :author for Post model.
Diffstat (limited to 'app/models/refinery')
-rw-r--r-- | app/models/refinery/blog/post.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/models/refinery/blog/post.rb b/app/models/refinery/blog/post.rb index 883f4fc..cbb99bd 100644 --- a/app/models/refinery/blog/post.rb +++ b/app/models/refinery/blog/post.rb @@ -46,7 +46,7 @@ module Refinery live.includes(:categories).where(:categories => { Refinery::Categorization.table_name => { :blog_category_id => nil } }) } - attr_accessible :title, :body, :custom_teaser, :tag_list, :draft, :published_at, :custom_url + attr_accessible :title, :body, :custom_teaser, :tag_list, :draft, :published_at, :custom_url, :author attr_accessible :browser_title, :meta_keywords, :meta_description, :user_id, :category_ids self.per_page = Refinery::Setting.find_or_set(:blog_posts_per_page, 10) @@ -111,4 +111,4 @@ module Refinery end end -end
\ No newline at end of file +end |