2013-08-14 09:18:04 +00:00
|
|
|
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
|
2013-09-10 02:48:28 +00:00
|
|
|
|
2013-08-14 09:18:04 +00:00
|
|
|
resources :ask_categories
|
|
|
|
resources :ask_acknowledgements
|
|
|
|
resources :ask_admins
|
2013-09-10 09:54:18 +00:00
|
|
|
|
2013-09-10 02:48:28 +00:00
|
|
|
match "ask_requests/auth_request" => "ask_requests#auth_request", :as => 'auth_request'
|
2013-09-10 09:54:18 +00:00
|
|
|
match "ask_requests/transfer_request" => "ask_requests#transfer_request", :as => 'transfer_request'
|
2013-08-14 09:18:04 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
namespace :front_end do
|
2013-08-19 04:52:39 +00:00
|
|
|
match "ask_questions/thank_you" => "ask_questions#thank_you", :as => 'thank_you'
|
2013-08-14 09:18:04 +00:00
|
|
|
resources :ask_questions
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
end
|