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

31 lines
849 B
Ruby

Rails.application.routes.draw do
namespace :panel do
namespace :ask do
namespace :back_end do
resources :ask_questions do
collection do
get 'delete'
get 'export'
post 'export', to: 'ask_questions#do_export'
end
resources :ask_replies
end
resources :ask_categories
resources :ask_acknowledgements
resources :ask_admins
match "ask_requests/auth_request" => "ask_requests#auth_request", :as => 'auth_request'
match "ask_requests/transfer_request" => "ask_requests#transfer_request", :as => 'transfer_request'
end
namespace :front_end do
match "ask_questions/thank_you" => "ask_questions#thank_you", :as => 'thank_you'
resources :ask_questions
end
end
end
end