summaryrefslogtreecommitdiffstats
path: root/app.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app.rb')
-rw-r--r--app.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/app.rb b/app.rb
index 36d98ac..64599c3 100644
--- a/app.rb
+++ b/app.rb
@@ -445,7 +445,6 @@ def browse_album(rel)
if params[:photo] && !params[:photo].empty?
photo_name = File.basename(params[:photo])
@og_image_rel = rel.empty? ? photo_name : "#{rel}/#{photo_name}"
- @og_use_media = true
elsif !rel.empty?
first_img = @entries.find { |e| %i[image video].include?(e[:type]) }
@og_image_rel = if first_img