diff options
author | Yoshiyuki Hirano <yhirano@me.com> | 2017-12-22 05:04:25 +0900 |
---|---|---|
committer | Yoshiyuki Hirano <yhirano@me.com> | 2017-12-22 05:04:25 +0900 |
commit | d8c49d88f69da01d4cedad911b2662d7c1ccdf26 (patch) | |
tree | e68483fd50f54c6ac2d5ab42d52c5ccb82d0e03a | |
parent | 3b4f14dc43f09addb50c546ffe23b9e03eafed20 (diff) | |
download | rails-d8c49d88f69da01d4cedad911b2662d7c1ccdf26.tar.gz rails-d8c49d88f69da01d4cedad911b2662d7c1ccdf26.tar.bz2 rails-d8c49d88f69da01d4cedad911b2662d7c1ccdf26.zip |
[ci skip] Remove needless from doc for ActiveStorage::Variant
-rw-r--r-- | activestorage/app/models/active_storage/variant.rb | 2 |
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. |