Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix mistaken cloudinary_video_url in article (#1813)
  • Loading branch information
benhalpern committed Feb 16, 2019
1 parent 1cc0fcc commit 4465f9a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/models/article.rb
Expand Up @@ -387,6 +387,8 @@ def all_series
end

def cloudinary_video_url
return if video_thumbnail_url.blank?

ApplicationController.helpers.cloudinary(video_thumbnail_url, 880)
end

Expand Down

0 comments on commit 4465f9a

Please sign in to comment.