Skip to content

Commit

Permalink
Changed default path/url to use :filename
Browse files Browse the repository at this point in the history
  • Loading branch information
Jon Yurek committed May 10, 2009
1 parent 1d75611 commit 5730418
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/paperclip/attachment.rb
Expand Up @@ -6,7 +6,7 @@ class Attachment

def self.default_options
@default_options ||= {
:url => "/system/:attachment/:id/:style/:basename.:extension",
:url => "/system/:attachment/:id/:style/:filename",
:path => ":rails_root/public:url",
:styles => {},
:default_url => "/:attachment/:style/missing.png",
Expand Down

0 comments on commit 5730418

Please sign in to comment.