Merge branch 'make_jsFunc_for_journalP' of https://github.com/Rulingcom/orbit into make_jsFunc_for_journalP

* 'make_jsFunc_for_journalP' of https://github.com/Rulingcom/orbit:
  routes fixed
This commit is contained in:
Rueshyna 2012-11-21 17:48:03 +08:00
commit 262df57298
2 changed files with 3 additions and 3 deletions

View File

@ -63,7 +63,7 @@ var orbitDesktop = function(dom){
o.bindDesktopEvents();
o.loadIconCache();
$(o.contentHolder).empty().load("desktop",function(){
$(o.contentHolder).empty().load("/desktop/desktop",function(){
o.desktopData["d_desktop"] = "";
o.initializeDesktop("d_desktop","",false);
})

View File

@ -147,9 +147,9 @@ Orbit::Application.routes.draw do
post 'upload'
end
end
match "desktop" => "desktop#index"
namespace :desktop do
match "/" => "desktop#index"
match "desktop" => "desktop#desktop"
match '/journal_pages/get_journals_json' => 'journal_pages#get_journals_json'
match '/desktop'=>'desktop#desktop'
match '/app_manager'=>'desktop#app_manager'