orbit-basic/vendor/built_in_modules/announcement/config/routes.rb

31 lines
1.2 KiB
Ruby
Raw Normal View History

2012-01-11 12:31:52 +00:00
Rails.application.routes.draw do
namespace :panel do
namespace :announcement do
namespace :back_end do
match 'public' => "announcements#public",:as => :public
2012-03-16 03:09:44 +00:00
match 'fact_check_setting' => "fact_checks#setting" ,:as => :fact_checks_setting
match 'update_setting' => "fact_checks#update_setting" ,:as => :fact_checks_update_setting
2012-01-11 12:31:52 +00:00
root :to => "bulletins#index"
2012-03-14 12:05:03 +00:00
resources :bulletins do
match "link_quick_add/:bulletin_id" => "bulletins#link_quick_add" ,:as => :link_quick_add
match "link_quick_edit/:bulletin_id" => "bulletins#link_quick_edit" ,:as => :link_quick_edit
end
2012-02-14 16:32:20 +00:00
resources :bulletin_categorys, :controller => 'bulletin_categorys' do
match "quick_edit/:bulletin_category_id" => "bulletin_categorys#quick_edit" ,:as => :quick_edit
end
resources :tags
2012-01-11 12:31:52 +00:00
end
namespace :front_end do
resources :bulletins
2012-01-18 13:34:26 +00:00
end
namespace :widget do
match "bulletins" => "bulletins#index"
match "bulletins_and_web_links" => "bulletins#bulletins_and_web_links"
match "reload_bulletins" => "bulletins#reload_bulletins"
match "reload_web_links" => "bulletins#reload_web_links"
2012-01-11 12:31:52 +00:00
end
end
end
2012-02-13 09:33:48 +00:00
end