kbingman / paperclipped

Please note, this extension is no longer being developed. Please take a look at the radiant-clipped-extension instead. Radiant extension for managing assets and images with the Paperclip plugin.
Other
122 stars 64 forks source link

<r:image /> is undefined. #16

Closed Sixeight closed 14 years ago

Sixeight commented 14 years ago

I think that is typo in tag's description. how about following patch?

diff --git a/app/models/asset_tags.rb b/app/models/asset_tags.rb
index b910187..b1f8e44 100644
--- a/app/models/asset_tags.rb
+++ b/app/models/asset_tags.rb
@@ -263,7 +263,7 @@ module AssetTags
     generate the url for that size. 

     *Usage:* 
-    <pre><code><r:image [title="asset_title"] [size="icon|thumbnail"]></code></pre>
+    <pre><code><r:url [title="asset_title"] [size="icon|thumbnail"]></code></pre>   }    
   tag 'assets:url' do |tag|
     options = tag.attr.dup
kbingman commented 14 years ago

I will take a look. It is just in the documentation, right?

Sixeight commented 14 years ago

Yes, it is just in documentation. I'v read it then use /r:image #=> undefined tag