diff options
author | Javan Makhmali <javan@javan.us> | 2018-02-13 15:07:29 -0500 |
---|---|---|
committer | Javan Makhmali <javan@javan.us> | 2018-02-13 15:07:29 -0500 |
commit | 2ae84d647feac338082175f581bd1ca0c33d003a (patch) | |
tree | f7e2f058fcf6689e27b2862877b49bef54f5e449 /app/views/active_storage | |
parent | b79bf62196f1032d4a6f95799ced79cbbadad856 (diff) | |
download | rails-2ae84d647feac338082175f581bd1ca0c33d003a.tar.gz rails-2ae84d647feac338082175f581bd1ca0c33d003a.tar.bz2 rails-2ae84d647feac338082175f581bd1ca0c33d003a.zip |
Initial Attachment rendering support
Diffstat (limited to 'app/views/active_storage')
-rw-r--r-- | app/views/active_storage/blobs/_blob.html.erb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/app/views/active_storage/blobs/_blob.html.erb b/app/views/active_storage/blobs/_blob.html.erb new file mode 100644 index 0000000000..2b17745c8d --- /dev/null +++ b/app/views/active_storage/blobs/_blob.html.erb @@ -0,0 +1,7 @@ +<h2>Engine <code>blob/_blob</code>:</h2> + +<%= debug blob %> + +<figure> + <%= image_tag rails_blob_path(blob) %> +</figure> |