Commit 60d00dc9 authored by Philip Arndt's avatar Philip Arndt
Browse files

Merge pull request #89 from mitfik/Fix_86_can_not_mass_assign_for_main_item_attributes

Fix #86 Can't mass-assign main item attributes
parents 86d810c6 461a5371
......@@ -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