2013-08-09 02:44:06 +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
|
|
|
|
resources :channel_videos
|
|
|
|
end
|
|
|
|
|
|
|
|
namespace :front_end do
|
2013-12-03 07:50:27 +00:00
|
|
|
resources :channel_videos
|
|
|
|
# match "/channel_videos" => "channel_videos#channel_videos", :via => :get
|
2013-08-09 02:44:06 +00:00
|
|
|
end
|
|
|
|
namespace :widget do
|
|
|
|
#resources :channel_videos
|
|
|
|
match "/channel_videos" => "channel_videos#channel_videos", :via => :get
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|