From 95310619c038792baf53153552a60931ff06d8a9 Mon Sep 17 00:00:00 2001 From: saurabhbhatia Date: Fri, 4 Oct 2013 11:28:28 +0800 Subject: [PATCH] Fix the URL for video in channel video api --- .../panel/video/back_end/channel_videos_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vendor/built_in_modules/video/app/controllers/panel/video/back_end/channel_videos_controller.rb b/vendor/built_in_modules/video/app/controllers/panel/video/back_end/channel_videos_controller.rb index 68e61b5a1..cdcb93a35 100644 --- a/vendor/built_in_modules/video/app/controllers/panel/video/back_end/channel_videos_controller.rb +++ b/vendor/built_in_modules/video/app/controllers/panel/video/back_end/channel_videos_controller.rb @@ -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)