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

24 lines
482 B
Ruby
Raw Normal View History

2013-03-28 04:06:10 +00:00
Rails.application.routes.draw do
namespace :panel do
namespace :faq do
namespace :back_end do
resources :qas do
collection do
get 'delete'
end
end
resources :qa_categorys
resources :tags
end
namespace :front_end do
resources :qas
end
namespace :widget do
match "index" => "qas#index"
end
end
end
match "/appfront/*path" => redirect("/panel/*path")
end