attr_accessible :author for Post model.

This commit is contained in:
Pete Higgins 2012-01-26 16:58:04 -08:00
parent 6b1fcc8ea1
commit c89b4dfc1f

View file

@ -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
end