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

24 lines
497 B
Ruby

Rails.application.routes.draw do
namespace :panel do
namespace :survey_b do
namespace :back_end do
resources :survey_b do
collection do
get 'result'
get 'delete'
get 'export'
end
end
resources :periods
resource :setting
end
namespace :front_end do
resources :survey_b do
end
end
end
end
match "/appfront/*path" => redirect("/panel/*path")
end