Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
applying defaults
  • Loading branch information
heythisisnate committed Aug 6, 2009
1 parent a23e004 commit 4d4fa4f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/paperclip/attachment.rb
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion paperclip.gemspec
Expand Up @@ -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"]
Expand Down

0 comments on commit 4d4fa4f

Please sign in to comment.