Add mobile but remove news in it

This commit is contained in:
chris committed 2013-01-14 17:38:44 +08:00
1 parent 03c8d42138
commit 141eb7e723
8 files changed
+846 -4

No files matched your search

+12
View File
@@ -252,6 +252,18 @@ Orbit::Application.routes.draw do
controller_paths :mobile, %w[index announcement announcement_content dialog_contact dialog_copyright dialog_language map page page_content]
end
scope '/mobile' do
match 'announcement' => 'mobile#announcement', :as => 'mobile_announcement'
match 'announcement_content/:id' => 'mobile#announcement_content', :as => 'mobile_announcement_content'
match 'dialog_contact' => 'mobile#dialog_contact', :as => 'mobile_dialog_contact'
match 'dialog_copyright' => 'mobile#dialog_copyright', :as => 'mobile_dialog_copyright'
match 'dialog_language' => 'mobile#dialog_language', :as => 'mobile_dialog_language'
match 'map' => 'mobile#map', :as => 'mobile_map'
match 'page' => 'mobile#page', :as => 'mobile_page'
match 'page_content/:id' => 'mobile#page_content', :as => 'mobile_page_content'
root :to => 'mobile#index', :as => 'mobile'
end
match '/panel/orbit_app/widget/:type' => 'default_widget#default_widget'