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

24 lines
656 B
Ruby

Rails.application.routes.draw do
namespace :panel do
namespace :announcement do
namespace :back_end do
resources :fact_checks
root :to => "bulletins#index"
resources :bulletins
resources :bulletin_categorys, :controller => 'bulletin_categorys' do
match "quick_edit/:bulletin_category_id" => "bulletin_categorys#quick_edit" ,:as => :quick_edit
end
end
namespace :front_end do
root :to => "bulletins#index"
resources :bulletins
end
namespace :widget do
root :to => "bulletins#index"
end
end
end
match "/appfront/*path" => redirect("/panel/*path")
end