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

22 lines
681 B
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
root :to => "bulletins#index"
resources :bulletins
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
root :to => "bulletins#index"
resources :bulletins
2012-01-18 13:34:26 +00:00
end
namespace :widget do
match "bulletins" => "bulletins#index"
2012-02-16 09:52:49 +00:00
match "bulletins_list" => "bulletins#bulletins_list"
2012-01-11 12:31:52 +00:00
end
end
end
end