Fix the URL for video in channel video api
This commit is contained in:
parent
55207da76a
commit
95310619c0
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue