aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2018-10-02 16:56:09 -0700
committerDavid Heinemeier Hansson <david@loudthinking.com>2018-10-02 16:56:09 -0700
commit4034515ac66499f30196b2e4f938ee2ab5ed6a2e (patch)
tree481e622fee2efd34ed05d9d166083f66cf5c405d /lib
parentb39478de43716e1ee49acd0b95c278dcb143fdae (diff)
downloadrails-4034515ac66499f30196b2e4f938ee2ab5ed6a2e.tar.gz
rails-4034515ac66499f30196b2e4f938ee2ab5ed6a2e.tar.bz2
rails-4034515ac66499f30196b2e4f938ee2ab5ed6a2e.zip
Copy over the blobs/_blob partial so it can be specialized
Diffstat (limited to 'lib')
-rw-r--r--lib/templates/installer.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/templates/installer.rb b/lib/templates/installer.rb
index 44769c5193..03ba0722cd 100644
--- a/lib/templates/installer.rb
+++ b/lib/templates/installer.rb
@@ -4,6 +4,10 @@ copy_file "#{__dir__}/actiontext.css", "app/assets/stylesheets/actiontext.css"
say "Copying fixtures to test/fixtures/action_text/rich_texts.yml"
copy_file "#{__dir__}/fixtures.yml", "test/fixtures/action_text/rich_texts.yml"
+say "Copying blob rendering partial to app/views/active_storage/blobs/_blob.html.erb"
+copy_file "#{__dir__}/../../app/views/active_storage/blobs/_blob.html.erb",
+ "app/views/active_storage/blobs/_blob.html.erb"
+
# FIXME: Replace with release version on release
say "Installing JavaScript dependency"
run "yarn add https://github.com/basecamp/actiontext"