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.
2012-01-11 12:31:52 +00:00
|
|
|
Rails.application.routes.draw do
|
|
|
|
|
|
|
|
namespace :panel do
|
|
|
|
namespace :announcement do
|
|
|
|
namespace :back_end do
|
2012-02-15 10:20:44 +00:00
|
|
|
match 'public' => "announcements#public",:as => :public
|
2012-02-13 09:33:48 +00:00
|
|
|
resources :fact_checks
|
2012-02-17 09:50:23 +00:00
|
|
|
match 'list_mine' => "announcements#list_mine"
|
2012-01-11 12:31:52 +00:00
|
|
|
root :to => "bulletins#index"
|
|
|
|
resources :bulletins
|
2012-02-09 06:58:59 +00:00
|
|
|
resources :bulletin_categorys, :controller => 'bulletin_categorys' do
|
|
|
|
match "quick_edit/:bulletin_category_id" => "bulletin_categorys#quick_edit" ,:as => :quick_edit
|
|
|
|
end
|
2012-01-11 12:31:52 +00:00
|
|
|
end
|
|
|
|
namespace :front_end do
|
|
|
|
root :to => "bulletins#index"
|
|
|
|
resources :bulletins
|
2012-01-18 13:34:26 +00:00
|
|
|
end
|
2012-02-15 10:20:44 +00:00
|
|
|
namespace :widget do
|
2012-01-18 13:34:26 +00:00
|
|
|
root :to => "bulletins#index"
|
2012-01-11 12:31:52 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
2012-02-09 06:58:59 +00:00
|
|
|
match "/appfront/*path" => redirect("/panel/*path")
|
2012-01-11 12:31:52 +00:00
|
|
|
end
|