Skip to content

Commit

Permalink
Removed :filename interpolation from the docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jon Yurek committed Nov 6, 2008
1 parent 7874cfd commit 081b888
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion lib/paperclip.rb
Expand Up @@ -98,7 +98,8 @@ module ClassMethods
# as easily point to a directory served directly through Apache as it can to an action
# that can control permissions. You can specify the full domain and path, but usually
# just an absolute path is sufficient. The leading slash must be included manually for
# absolute paths. The default value is "/:class/:attachment/:id/:style_:filename". See
# absolute paths. The default value is
# "/:class/:attachment/:id/:style_:basename.:extension". See
# Paperclip::Attachment#interpolate for more information on variable interpolaton.
# :url => "/:attachment/:id/:style_:basename:extension"
# :url => "http://some.other.host/stuff/:class/:id_:extension"
Expand Down
2 changes: 1 addition & 1 deletion lib/paperclip/storage.rb
Expand Up @@ -15,7 +15,7 @@ module Storage
# make a symlink to the capistrano-created system directory from inside your app's
# public directory.
# See Paperclip::Attachment#interpolate for more information on variable interpolaton.
# :path => "/var/app/attachments/:class/:id/:style/:filename"
# :path => "/var/app/attachments/:class/:id/:style/:basename.:extension"
module Filesystem
def self.extended base
end
Expand Down

0 comments on commit 081b888

Please sign in to comment.