Rails.application.routes.draw do namespace :panel do namespace :videos do namespace :back_end do match "videos/get_videos" => "videos#get_videos" resources :videos end end end end