routes fixed

This commit is contained in:
Harry Bomrah 2012-11-21 17:39:01 +08:00
parent c94940214c
commit 91005bb00a
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'