Removed pagination from video api

This commit is contained in:
saurabhbhatia 2013-10-05 16:38:10 +08:00
parent b7ea756789
commit 363ea53861
1 changed files with 1 additions and 1 deletions

View File

@ -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