This repository has been archived on 2024-03-16. You can view files and clone it, but cannot push or open issues or pull requests.
orbit-4-1/vendor/built_in_modules/video/config/routes.rb

20 lines
536 B
Ruby

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