diff options
author | dixpac <dino.onex@gmail.com> | 2018-04-08 13:56:41 +0200 |
---|---|---|
committer | dixpac <dino.onex@gmail.com> | 2018-04-08 14:07:21 +0200 |
commit | c520417ad1bb4b2630e39625332a5565e119a42b (patch) | |
tree | 2ba0a87d70d8813371635f921a042fc7a78dad1e /activestorage/app/models/active_storage/blob | |
parent | 4f342ea3e4e081e9227e540dff01be8795bf05cc (diff) | |
download | rails-c520417ad1bb4b2630e39625332a5565e119a42b.tar.gz rails-c520417ad1bb4b2630e39625332a5565e119a42b.tar.bz2 rails-c520417ad1bb4b2630e39625332a5565e119a42b.zip |
Fix leftover references to VariantsController [ci skip]
VariantsController has been merged to RepresentationsController, this
PR fixes outdated references to VariantsController in ActiveStorage documentation.
Diffstat (limited to 'activestorage/app/models/active_storage/blob')
-rw-r--r-- | activestorage/app/models/active_storage/blob/representable.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activestorage/app/models/active_storage/blob/representable.rb b/activestorage/app/models/active_storage/blob/representable.rb index 88fc25b7ae..fea62e62de 100644 --- a/activestorage/app/models/active_storage/blob/representable.rb +++ b/activestorage/app/models/active_storage/blob/representable.rb @@ -20,7 +20,7 @@ module ActiveStorage::Blob::Representable # # <%= image_tag Current.user.avatar.variant(resize: "100x100") %> # - # This will create a URL for that specific blob with that specific variant, which the ActiveStorage::VariantsController + # This will create a URL for that specific blob with that specific variant, which the ActiveStorage::RepresentationsController # can then produce on-demand. # # Raises ActiveStorage::InvariableError if ImageMagick cannot transform the blob. To determine whether a blob is |