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:
commit
262df57298
|
@ -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'
|
||||
|
|
Reference in New Issue