attr_accessible :author for Post model.
This commit is contained in:
parent
6b1fcc8ea1
commit
c89b4dfc1f
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue