Skip to content
Browse files

Revert "Only return version url if version exists"

This reverts commit 2582999.
  • Loading branch information...
1 parent 88352b4 commit 23767467e6dc152b8c1c309fa07bc12c43f957a1 @bensie bensie committed Feb 18, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/carrierwave/uploader/versions.rb
View
2 lib/carrierwave/uploader/versions.rb
@@ -200,7 +200,7 @@ def url(*args)
if (version = args.first) && version.respond_to?(:to_sym)
raise ArgumentError, "Version #{version} doesn't exist!" if versions[version.to_sym].nil?
# recursively proxy to version
- versions[version.to_sym].url(*args[1..-1]) if version_exists?(version)
+ versions[version.to_sym].url(*args[1..-1])
elsif args.first
super(args.first)
else

0 comments on commit 2376746

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