app/helpers/theme_helper.rb in woople-theme-0.8.3 vs app/helpers/theme_helper.rb in woople-theme-0.8.4
- old
+ new
@@ -8,12 +8,12 @@
def content_items(items, presenter = nil)
collection = ThemePresentation.wrap_collection(items, ContentItemPresenter, presenter)
render partial: 'woople-theme/content_item', collection: collection
end
- def video_modal(video)
+ def video_player(video)
video = ThemePresentation.wrap(video, WoopleTheme::VideoPresenter)
- render 'woople-theme/video_modal', video: video
+ render 'woople-theme/video_player', video: video
end
def content_item_header
render partial: 'woople-theme/content_item_header'
end