Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- search = Video::Search.new(Harbor::Locale.default, page, page_size, allowed_channels, channel_id, query, options)
- channel = Channel.get(channel_id) if channel_id
- return response.render("videos/index", :search => search, :channel => channel) if search.videos.empty?
- video = Video.first(:uuid => search.videos.first.uuid)
Add Comment
Please, Sign In to add comment