Skip to content
Snippets Groups Projects
Commit 9c7bb2d1 authored by Matheus Agio Nerone's avatar Matheus Agio Nerone
Browse files

change larger image size

parent fba6c897
No related branches found
No related tags found
No related merge requests found
class Carousel < ActiveRecord::Base
has_attached_file :image, styles: {
larger: "300x300>",
larger: "400x500>",
thumbnail: "100x100>"
}, default_url: "/images/:style/missing.png"
validates_attachment_content_type :image, content_type: /\Aimage\/.*\Z/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment