Skip to content
Browse files

Changed default path/url to use :filename

  • Loading branch information...
1 parent 1d75611 commit 5730418b72f7763ccb59237ac8012782b36bd7bf @jyurek jyurek committed May 10, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/paperclip/attachment.rb
View
2 lib/paperclip/attachment.rb
@@ -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",

0 comments on commit 5730418

Please sign in to comment.
Something went wrong with that request. Please try again.