test
This commit is contained in:
parent
7f0267aedd
commit
8c7a0fdf0a
|
@ -106,66 +106,66 @@ Orbit::Application.routes.draw do
|
||||||
|
|
||||||
# Sinatra Routes start
|
# Sinatra Routes start
|
||||||
|
|
||||||
match '/desktop/desktop', :to => Desktopapp::DesktopApp
|
# match '/desktop/desktop', :to => Desktopapp::DesktopApp
|
||||||
match '/desktop/app_manager', :to => Desktopapp::DesktopApp
|
# match '/desktop/app_manager', :to => Desktopapp::DesktopApp
|
||||||
match '/desktop/sections', :to => Desktopapp::DesktopApp
|
# match '/desktop/sections', :to => Desktopapp::DesktopApp
|
||||||
match '/desktop/settings', :to => Desktopapp::DesktopApp
|
# match '/desktop/settings', :to => Desktopapp::DesktopApp
|
||||||
match '/desktop/get_desktop_settings/', :to => Desktopapp::DesktopApp
|
# match '/desktop/get_desktop_settings/', :to => Desktopapp::DesktopApp
|
||||||
match '/desktop/save_desktop_settings/', :to => Desktopapp::DesktopApp
|
# match '/desktop/save_desktop_settings/', :to => Desktopapp::DesktopApp
|
||||||
match '/desktop/getgroups/', :to => Desktopapp::DesktopApp
|
# match '/desktop/getgroups/', :to => Desktopapp::DesktopApp
|
||||||
match '/desktop/getsectionlist/', :to => Desktopapp::DesktopApp
|
# match '/desktop/getsectionlist/', :to => Desktopapp::DesktopApp
|
||||||
match '/desktop/settingthemes/', :to => Desktopapp::DesktopApp
|
# match '/desktop/settingthemes/', :to => Desktopapp::DesktopApp
|
||||||
match '/desktop/settingsections/', :to => Desktopapp::DesktopApp
|
# match '/desktop/settingsections/', :to => Desktopapp::DesktopApp
|
||||||
match '/desktop/getapplist/', :to => Desktopapp::DesktopApp
|
# match '/desktop/getapplist/', :to => Desktopapp::DesktopApp
|
||||||
match '/desktop/newpositions/', :to => Desktopapp::DesktopApp
|
# match '/desktop/newpositions/', :to => Desktopapp::DesktopApp
|
||||||
match '/desktop/settingconnection/', :to => Desktopapp::DesktopApp
|
# match '/desktop/settingconnection/', :to => Desktopapp::DesktopApp
|
||||||
|
|
||||||
match '/desktop/journal_p/', :to => Desktopapp::DesktopAppPublications
|
# match '/desktop/journal_p/', :to => Desktopapp::DesktopAppPublications
|
||||||
match '/desktop/journal_p_list/', :to => Desktopapp::DesktopAppPublications
|
# match '/desktop/journal_p_list/', :to => Desktopapp::DesktopAppPublications
|
||||||
match '/desktop/journal_p_add/', :to => Desktopapp::DesktopAppPublications
|
# match '/desktop/journal_p_add/', :to => Desktopapp::DesktopAppPublications
|
||||||
match '/desktop_publications/getjournals', :to => Desktopapp::DesktopAppPublications
|
# match '/desktop_publications/getjournals', :to => Desktopapp::DesktopAppPublications
|
||||||
|
|
||||||
# match '/desktop/twitter/', :to => Desktopapp::Otheraccounts
|
# match '/desktop/twitter/', :to => Desktopapp::Otheraccounts
|
||||||
# match '/desktop/forgmail/', :to => Desktopapp::Otheraccounts
|
# match '/desktop/forgmail/', :to => Desktopapp::Otheraccounts
|
||||||
# match '/desktop/getaccounts', :to => Desktopapp::Otheraccounts
|
# match '/desktop/getaccounts', :to => Desktopapp::Otheraccounts
|
||||||
# match '/desktop/save_account_info/', :to => Desktopapp::Otheraccounts
|
# match '/desktop/save_account_info/', :to => Desktopapp::Otheraccounts
|
||||||
|
|
||||||
match '/desktop_appstore/appstore', :to => Desktopapp::DesktopAppAppstore
|
# match '/desktop_appstore/appstore', :to => Desktopapp::DesktopAppAppstore
|
||||||
match '/desktop_appstore/widgets', :to => Desktopapp::DesktopAppAppstore
|
# match '/desktop_appstore/widgets', :to => Desktopapp::DesktopAppAppstore
|
||||||
match '/desktop_appstore/getuserwidgets', :to => Desktopapp::DesktopAppAppstore
|
# match '/desktop_appstore/getuserwidgets', :to => Desktopapp::DesktopAppAppstore
|
||||||
match '/desktop_appstore/widgets_settings', :to => Desktopapp::DesktopAppAppstore
|
# match '/desktop_appstore/widgets_settings', :to => Desktopapp::DesktopAppAppstore
|
||||||
|
|
||||||
# Sinatra Routes end
|
# Sinatra Routes end
|
||||||
|
|
||||||
# match '/desktop/desktop'=>'desktop#desktop'
|
match '/desktop/desktop'=>'desktop#desktop'
|
||||||
# match '/desktop/app_manager'=>'desktop#app_manager'
|
match '/desktop/app_manager'=>'desktop#app_manager'
|
||||||
# match '/desktop/sections'=>'desktop#sections'
|
match '/desktop/sections'=>'desktop#sections'
|
||||||
# match '/desktop/settings'=>'desktop#settings'
|
match '/desktop/settings'=>'desktop#settings'
|
||||||
# match '/desktop/get_desktop_settings/'=>'desktop#get_desktop_settings'
|
match '/desktop/get_desktop_settings/'=>'desktop#get_desktop_settings'
|
||||||
# match '/desktop/save_desktop_settings/'=>'desktop#save_desktop_settings'
|
match '/desktop/save_desktop_settings/'=>'desktop#save_desktop_settings'
|
||||||
# match '/desktop/getgroups/'=>'desktop#getgroups'
|
match '/desktop/getgroups/'=>'desktop#getgroups'
|
||||||
# match '/desktop/getsectionlist/'=>'desktop#getsectionlist'
|
match '/desktop/getsectionlist/'=>'desktop#getsectionlist'
|
||||||
# match '/desktop/settingthemes/'=>'desktop#settingthemes'
|
match '/desktop/settingthemes/'=>'desktop#settingthemes'
|
||||||
# match '/desktop/settingsections/'=>'desktop#settingsections'
|
match '/desktop/settingsections/'=>'desktop#settingsections'
|
||||||
# match '/desktop/getapplist/'=>'desktop#getapplist'
|
match '/desktop/getapplist/'=>'desktop#getapplist'
|
||||||
# match '/desktop/newpositions/'=>'desktop#newpositions'
|
match '/desktop/newpositions/'=>'desktop#newpositions'
|
||||||
# match '/desktop/settingconnection/'=>'desktop#settingconnection'
|
match '/desktop/settingconnection/'=>'desktop#settingconnection'
|
||||||
|
|
||||||
|
|
||||||
# match '/desktop/journal_p/'=>'desktop_publications#journal_p'
|
match '/desktop/journal_p/'=>'desktop_publications#journal_p'
|
||||||
# match '/desktop/journal_p_list/'=>'desktop_publications#journal_p_list'
|
match '/desktop/journal_p_list/'=>'desktop_publications#journal_p_list'
|
||||||
# match '/desktop/journal_p_add/'=>'desktop_publications#journal_p_add'
|
match '/desktop/journal_p_add/'=>'desktop_publications#journal_p_add'
|
||||||
# match '/desktop_publications/getjournals' => 'desktop_publications#getjournals'
|
match '/desktop_publications/getjournals' => 'desktop_publications#getjournals'
|
||||||
|
|
||||||
match '/desktop/twitter/'=>'otheraccounts#twitter'
|
match '/desktop/twitter/'=>'otheraccounts#twitter'
|
||||||
match '/desktop/forgmail/'=>'otheraccounts#gmail'
|
match '/desktop/forgmail/'=>'otheraccounts#gmail'
|
||||||
match '/desktop/getaccounts'=>'otheraccounts#getaccounts'
|
match '/desktop/getaccounts'=>'otheraccounts#getaccounts'
|
||||||
match '/desktop/save_account_info/'=>'otheraccounts#saveaccountinfo'
|
match '/desktop/save_account_info/'=>'otheraccounts#saveaccountinfo'
|
||||||
|
|
||||||
# match '/desktop_appstore/appstore'=>'desktop_appstore#appstore'
|
match '/desktop_appstore/appstore'=>'desktop_appstore#appstore'
|
||||||
# match '/desktop_appstore/widgets'=>'desktop_appstore#widgets'
|
match '/desktop_appstore/widgets'=>'desktop_appstore#widgets'
|
||||||
# match '/desktop_appstore/getuserwidgets'=>'desktop_appstore#getuserwidgets'
|
match '/desktop_appstore/getuserwidgets'=>'desktop_appstore#getuserwidgets'
|
||||||
# match '/desktop_appstore/widgets_settings'=>'desktop_appstore#widgets_settings'
|
match '/desktop_appstore/widgets_settings'=>'desktop_appstore#widgets_settings'
|
||||||
|
|
||||||
|
|
||||||
match '/desktop/temp_func/'=>'desktop#temp_func'
|
match '/desktop/temp_func/'=>'desktop#temp_func'
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
class Desktopapp::DesktopAppAppstore < Sinatra::Base
|
class Desktopapp::DesktopAppAppstore < Sinatra::Base
|
||||||
register Sinatra::Warden
|
|
||||||
get '/desktop_appstore/appstore' do
|
get '/desktop_appstore/appstore' do
|
||||||
erb :appstore
|
erb :appstore
|
||||||
end
|
end
|
||||||
|
|
Reference in New Issue