Merge pull request #31 from opf/fix/wiki_journals_after_2.3.17

removes explicit casting of changes to yaml
pull/32/head
Martin Czuchra 12 years ago
commit 4104f501ce
  1. 2
      app/models/wiki_content.rb

@ -100,7 +100,7 @@ class WikiContent < ActiveRecord::Base
changes.delete("text")
changes["data"] = hash[:text]
changes["compression"] = hash[:compression]
update_attribute(:changes, changes.to_yaml)
update_attribute(:changes, changes)
end
def text

Loading…
Cancel
Save