Skip to content
This repository has been archived by the owner on Jan 30, 2018. It is now read-only.

Commit

Permalink
Add high resolution logo for OG image
Browse files Browse the repository at this point in the history
  • Loading branch information
jessieay committed Feb 26, 2013
1 parent 0463ae2 commit 023d0aa
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/models/event.rb
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def lacks_suggestions?
end

def set_owner_watermark
File.open(Rails.root.join('public', 'logo.png')) do |file|
File.open(Rails.root.join('public', 'logo-high-res.png')) do |file|
owner.watermarked_image = file
end
end
Expand Down
2 changes: 1 addition & 1 deletion app/models/user.rb
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def to_s

def update_watermark
if watermarked_image
watermarked_image = File.open(Rails.root.join('public', 'logo.png'))
watermarked_image = File.open(Rails.root.join('public', 'logo-high-res.png'))
end
end

Expand Down
Binary file added public/logo-high-res.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 023d0aa

Please sign in to comment.