2013-07-29 08:32:21 +00:00
|
|
|
Rails.application.routes.draw do
|
|
|
|
namespace :panel do
|
|
|
|
namespace :video do
|
|
|
|
namespace :back_end do
|
|
|
|
match "videos/get_videos" => "videos#get_videos"
|
|
|
|
resources :videos
|
2013-10-04 02:15:57 +00:00
|
|
|
match "channel_videos/get_channel_videos" => "channel_videos#get_channel_videos"
|
|
|
|
|
2013-07-29 08:32:21 +00:00
|
|
|
resources :channel_videos
|
|
|
|
end
|
|
|
|
|
|
|
|
namespace :front_end do
|
|
|
|
match "/channel_videos" => "channel_videos#channel_videos", :via => :get
|
|
|
|
end
|
|
|
|
namespace :widget do
|
|
|
|
#resources :channel_videos
|
|
|
|
match "/channel_videos" => "channel_videos#channel_videos", :via => :get
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|