This commit is contained in:
2014-07-18 01:03:23 +05:30
parent d1d1e6c7e1
commit c52e5192c0

View File

@@ -59,8 +59,6 @@ end
version :resized, :if=>:image? do
process :resize_to_fit => [1024,1024]
end
# Provide a default URL as a default if there hasn't been a file uploaded:
# def default_url
# # For Rails 3.1+ asset pipeline compatibility:
# # ActionController::Base.helpers.asset_path("fallback/" + [version_name, "default.png"].compact.join('_'))