Orbit/vendor/built_in_modules/video/config/routes.rb

20 lines
536 B
Ruby
Raw Permalink Normal View History

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
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