aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2018-06-05 16:31:07 +0200
committerDavid Heinemeier Hansson <david@loudthinking.com>2018-06-05 16:31:07 +0200
commit21aa1d4b55686eda40eb8315822d32de157964ba (patch)
tree44a26094050a2f9bb5e1e779281ed35c876adb39 /app
parent33c8f20c3339f1726e7ad5537adb1433ad8af6ec (diff)
downloadrails-21aa1d4b55686eda40eb8315822d32de157964ba.tar.gz
rails-21aa1d4b55686eda40eb8315822d32de157964ba.tar.bz2
rails-21aa1d4b55686eda40eb8315822d32de157964ba.zip
Edit the body of the RichText value
Needed now that we have that intermediary object.
Diffstat (limited to 'app')
-rw-r--r--app/helpers/action_text/tag_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/action_text/tag_helper.rb b/app/helpers/action_text/tag_helper.rb
index 72b36b58e3..0033538773 100644
--- a/app/helpers/action_text/tag_helper.rb
+++ b/app/helpers/action_text/tag_helper.rb
@@ -32,7 +32,7 @@ module ActionView::Helpers
end
def editable_value
- value.try(:to_trix_html)
+ value.body.try(:to_trix_html)
end
end