Commit 461a5371 authored by Robert Mitwicki's avatar Robert Mitwicki
Browse files

Fix #86 Can't mass-assign main item attributes

parent 86d810c6
......@@ -6,6 +6,7 @@ module Refinery
translates :title, :body
attr_accessor :locale # to hold temporarily
attr_accessible :title, :body, :source, :publish_date, :expiration_date
alias_attribute :content, :body
validates :title, :content, :publish_date, :presence => true
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment