aboutsummaryrefslogtreecommitdiffstats
path: root/activestorage
diff options
context:
space:
mode:
authorYoshiyuki Hirano <yhirano@me.com>2017-12-22 05:04:25 +0900
committerYoshiyuki Hirano <yhirano@me.com>2017-12-22 05:04:25 +0900
commitd8c49d88f69da01d4cedad911b2662d7c1ccdf26 (patch)
treee68483fd50f54c6ac2d5ab42d52c5ccb82d0e03a /activestorage
parent3b4f14dc43f09addb50c546ffe23b9e03eafed20 (diff)
downloadrails-d8c49d88f69da01d4cedad911b2662d7c1ccdf26.tar.gz
rails-d8c49d88f69da01d4cedad911b2662d7c1ccdf26.tar.bz2
rails-d8c49d88f69da01d4cedad911b2662d7c1ccdf26.zip
[ci skip] Remove needless from doc for ActiveStorage::Variant
Diffstat (limited to 'activestorage')
-rw-r--r--activestorage/app/models/active_storage/variant.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activestorage/app/models/active_storage/variant.rb b/activestorage/app/models/active_storage/variant.rb
index bdcb5e6a41..e08a2271ec 100644
--- a/activestorage/app/models/active_storage/variant.rb
+++ b/activestorage/app/models/active_storage/variant.rb
@@ -18,7 +18,7 @@ require "active_storage/downloading"
# To refer to such a delayed on-demand variant, simply link to the variant through the resolved route provided
# by Active Storage like so:
#
-# <%= image_tag url_for(Current.user.avatar.variant(resize: "100x100")) %>
+# <%= 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
# can then produce on-demand.