Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Removed :filename interpolation from the docs.

  • Loading branch information...
commit 081b888838ee724abf835e9f586af7432f6e6313 1 parent 7874cfd
@jyurek jyurek authored
Showing with 3 additions and 2 deletions.
  1. +2 −1  lib/paperclip.rb
  2. +1 −1  lib/paperclip/storage.rb
View
3  lib/paperclip.rb
@@ -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"
View
2  lib/paperclip/storage.rb
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.