Orbit/vendor/built_in_modules/web_resource/config/routes.rb

24 lines
561 B
Ruby
Raw Normal View History

Rails.application.routes.draw do
2012-02-15 07:38:27 +00:00
namespace :panel do
namespace :web_resource do
namespace :back_end do
resources :web_links do
collection do
2012-08-13 16:59:01 +00:00
get 'delete'
end
end
resources :web_link_categorys
2012-02-15 07:38:27 +00:00
resources :tags
end
namespace :front_end do
match "web_links" => "web_links#index"
2012-02-15 07:38:27 +00:00
resources :web_links
end
namespace :widget do
match "index" => "web_links#index"
2012-02-15 07:38:27 +00:00
end
end
end
match "/appfront/*path" => redirect("/panel/*path")
end