Commit f6e7559f2beeb2f2098d11e4b4fa5033010c52ec

Authored by Antonio Terceiro
1 parent 6d57ec81

rails3: make html of RawHTMLBlock mass-assignable

Showing 1 changed file with 2 additions and 0 deletions   Show diff stats
app/models/raw_html_block.rb
... ... @@ -6,6 +6,8 @@ class RawHTMLBlock < Block
6 6  
7 7 settings_items :html, :type => :text
8 8  
  9 + attr_accessible :html
  10 +
9 11 def content(args={})
10 12 (title.blank? ? '' : block_title(title)).html_safe + html.to_s.html_safe
11 13 end
... ...