Add image into investment show and add some change of css.
This commit is contained in:
committed by
Senén Rodero Rodríguez
parent
0925d33c5b
commit
dd1e73c5fd
@@ -16,8 +16,8 @@ class Budget
|
||||
acts_as_votable
|
||||
acts_as_paranoid column: :hidden_at
|
||||
include ActsAsParanoidAliases
|
||||
|
||||
has_attached_file :image, styles: { large: "600x600>", medium: "300x300#", thumb: "140x245#" }
|
||||
|
||||
has_attached_file :image, styles: { large: "x475", medium: "300x300#", thumb: "140x245#" }
|
||||
|
||||
belongs_to :author, -> { with_hidden }, class_name: 'User', foreign_key: 'author_id'
|
||||
belongs_to :heading
|
||||
|
||||
Reference in New Issue
Block a user