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

22 lines
580 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
resources :bulletin_categorys, :controller => 'bulletin_categorys'
end
namespace :front_end do
root :to => "bulletins#index"
resources :bulletins
match "show/:id" => "bulletins#show" ,:as => :bulletin
2012-01-18 13:34:26 +00:00
end
namespace :widget do
root :to => "bulletins#index"
2012-01-11 12:31:52 +00:00
end
end
end
match "/appfront/*path" => redirect("/panel/*path")
end