2012-02-15 07:38:27 +00:00
|
|
|
Rails.application.routes.draw do
|
|
|
|
|
|
|
|
namespace :panel do
|
|
|
|
namespace :web_resource do
|
|
|
|
namespace :back_end do
|
|
|
|
root :to => "web_links#index"
|
2012-05-05 13:20:20 +00:00
|
|
|
resources :web_links do
|
|
|
|
collection do
|
|
|
|
post 'delete'
|
|
|
|
end
|
|
|
|
end
|
2012-03-23 10:04:11 +00:00
|
|
|
resources :web_link_categorys
|
2012-02-15 07:38:27 +00:00
|
|
|
resources :tags
|
|
|
|
end
|
|
|
|
namespace :front_end do
|
|
|
|
resources :web_links
|
|
|
|
end
|
|
|
|
namespace :widget do
|
2012-02-16 09:52:49 +00:00
|
|
|
match "web_links" => "web_links#index"
|
2012-05-09 16:25:30 +00:00
|
|
|
match "home_list" => "web_links#home_list"
|
2012-02-23 07:53:15 +00:00
|
|
|
match "reload_web_links" => "web_links#reload_web_links"
|
2012-02-15 07:38:27 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
match "/appfront/*path" => redirect("/panel/*path")
|
|
|
|
end
|