routes fixed
This commit is contained in:
parent
c94940214c
commit
91005bb00a
|
@ -63,7 +63,7 @@ var orbitDesktop = function(dom){
|
||||||
o.bindDesktopEvents();
|
o.bindDesktopEvents();
|
||||||
o.loadIconCache();
|
o.loadIconCache();
|
||||||
|
|
||||||
$(o.contentHolder).empty().load("desktop",function(){
|
$(o.contentHolder).empty().load("/desktop/desktop",function(){
|
||||||
o.desktopData["d_desktop"] = "";
|
o.desktopData["d_desktop"] = "";
|
||||||
o.initializeDesktop("d_desktop","",false);
|
o.initializeDesktop("d_desktop","",false);
|
||||||
})
|
})
|
||||||
|
|
|
@ -147,9 +147,9 @@ Orbit::Application.routes.draw do
|
||||||
post 'upload'
|
post 'upload'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
match "desktop" => "desktop#index"
|
||||||
namespace :desktop do
|
namespace :desktop do
|
||||||
match "/" => "desktop#index"
|
match "desktop" => "desktop#desktop"
|
||||||
match '/journal_pages/get_journals_json' => 'journal_pages#get_journals_json'
|
match '/journal_pages/get_journals_json' => 'journal_pages#get_journals_json'
|
||||||
match '/desktop'=>'desktop#desktop'
|
match '/desktop'=>'desktop#desktop'
|
||||||
match '/app_manager'=>'desktop#app_manager'
|
match '/app_manager'=>'desktop#app_manager'
|
||||||
|
|
Loading…
Reference in New Issue