Skip to content
Browse files

applying defaults

  • Loading branch information...
1 parent a23e004 commit 4d4fa4fb1d42acc5ad737f7df03c7599aa963038 @heythisisnate committed
Showing with 3 additions and 3 deletions.
  1. +2 −2 lib/paperclip/attachment.rb
  2. +1 −1 paperclip.gemspec
View
4 lib/paperclip/attachment.rb
@@ -111,9 +111,9 @@ def signed_url(style = nil, time_limit = 5.seconds)
def url(style = nil, opts = nil)
if %w{thumb small}.include?(style.to_s)
- unsigned_url style, opts
+ unsigned_url style, true
else
- signed_url style, opts
+ signed_url style, 5.seconds
end
end
View
2 paperclip.gemspec
@@ -2,7 +2,7 @@
Gem::Specification.new do |s|
s.name = %q{paperclip}
- s.version = "2.3.0.3"
+ s.version = "2.3.0.4"
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Jon Yurek"]

0 comments on commit 4d4fa4f

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