Skip to content

Commit aff7db4

Browse files
committed
Added default images to projects and events
1 parent 0aaeef5 commit aff7db4

File tree

5 files changed

+1
-1
lines changed

5 files changed

+1
-1
lines changed

app/assets/images/medium/calendar.png

459 Bytes
Loading

app/assets/images/medium/project.jpg

38.3 KB
Loading
459 Bytes
Loading
38.3 KB
Loading

app/models/project.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class Project < ActiveRecord::Base
1111
validates :category, presence: true
1212

1313
has_attached_file :avatar, styles: { medium: "300x300>", thumb: "100x100<" },
14-
default_url: ":style/default-avatar.png"
14+
default_url: ":style/project.jpg"
1515

1616
validates_attachment_content_type :avatar, content_type: /\Aimage\/.*\z/
1717
end

0 commit comments

Comments
 (0)