Removed pagination from video api
This commit is contained in:
parent
b7ea756789
commit
363ea53861
|
@ -76,7 +76,7 @@ class Panel::Video::BackEnd::ChannelVideosController < OrbitBackendController
|
|||
@channel_video = ChannelVideo.where(:_id => params[:channel_id])
|
||||
@channel_video.each do |channel|
|
||||
client = YouTubeIt::Client.new(:dev_key => "AI39si5KGPg8rhKLBfmeukit2tCSP_B9lT8igiNICbrbgUXQoAdYGvsyCGCmO1wGnr1OW4bDRv-ESolwk-rdBNIAgVTL9VYaEA")
|
||||
@client_videos = client.videos_by(:user => channel.channel_name, :per_page => 5)
|
||||
@client_videos = client.videos_by(:user => channel.channel_name)
|
||||
@data = Array.new
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue