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/ask/config/routes.rb

30 lines
709 B
Ruby
Raw Permalink Normal View History

2013-05-27 09:29:59 +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
resources :ask_categories
resources :ask_acknowledgements
resources :ask_admins
2013-05-27 09:29:59 +00:00
end
namespace :front_end do
2013-08-27 04:36:29 +00:00
match "ask_questions/thank_you" => "ask_questions#thank_you", :as => 'thank_you'
2013-10-15 08:51:16 +00:00
match "ask_questions/sorry" => "ask_questions#sorry", :as => 'sorry'
2013-05-27 09:29:59 +00:00
resources :ask_questions
end
2013-10-15 08:51:16 +00:00
2013-05-27 09:29:59 +00:00
end
end
end