routes fixed
This commit is contained in:
parent
c53581c999
commit
73e76f2477
|
@ -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);
|
||||
})
|
||||
|
|
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue