Fix the URL for video in channel video api

This commit is contained in:
saurabhbhatia 2013-10-04 11:28:28 +08:00
parent 55207da76a
commit 95310619c0
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ class Panel::Video::BackEnd::ChannelVideosController < OrbitBackendController
@channels.each do |channel|
name = channel.channel_name
channel_id = channel.id.to_s
@data << { channel_name: name, channel_link: "http://ntue.tp.rulingcom.com/panel/location/back_end/channel_videos/get_channel_videos?channel_id=#{channel_id}"}
@data << { channel_name: name, channel_link: "http://ntue.tp.rulingcom.com/panel/video/back_end/channel_videos/get_channel_videos?channel_id=#{channel_id}"}
end
render :json => JSON.pretty_generate(@data)