Archived
modularized personal journal
This commit is contained in:
1 parent
758cab5ecd
commit
bf31d0c3dd
20 files changed
+185
-174
No files matched your search
+16
-14
@@ -40,7 +40,6 @@ Orbit::Application.routes.draw do
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
match 'ad_banners/:id/preview' => 'ad_banners#realtime_preview',:as => :realtime_preview_ad_banner,:via => :put
|
||||
match 'ad_banners/:id/rename' => 'ad_banners#rename',:as => :rename_ad_banner,:via => :post
|
||||
|
||||
@@ -51,6 +50,7 @@ Orbit::Application.routes.draw do
|
||||
end
|
||||
resources :ad_images ,:except => [:show,:index]
|
||||
end
|
||||
|
||||
resources :dashboards
|
||||
resources :designs do
|
||||
collection do
|
||||
@@ -64,22 +64,27 @@ Orbit::Application.routes.draw do
|
||||
post 'upload_image' => 'designs#upload_image'
|
||||
end
|
||||
end
|
||||
|
||||
resources :infos do
|
||||
get 'add_attribute_field'
|
||||
end
|
||||
|
||||
resources :items
|
||||
|
||||
match 'update_position' => 'items#update_position'
|
||||
resources :links do
|
||||
member do
|
||||
get 'delete'
|
||||
end
|
||||
end
|
||||
|
||||
resources :pages do
|
||||
member do
|
||||
get 'delete'
|
||||
get 'reload_themes'
|
||||
end
|
||||
end
|
||||
|
||||
resources :module_apps do
|
||||
match 'manager_auth_proc' => "module_apps_new_interface#setting" ,:as => :manager_auth_proc,:via => :get
|
||||
match 'manager_auth_proc' => "module_apps_new_interface#update_setting" ,:as => :manager_auth_proc,:via => :post
|
||||
@@ -99,6 +104,7 @@ Orbit::Application.routes.draw do
|
||||
get 'reload_frontend_pages'
|
||||
end
|
||||
end
|
||||
|
||||
resources :page_parts do
|
||||
member do
|
||||
get 'reload_widgets'
|
||||
@@ -106,6 +112,7 @@ Orbit::Application.routes.draw do
|
||||
get 'reload_r_tag_options'
|
||||
end
|
||||
end
|
||||
|
||||
resources :plugins
|
||||
resources :purchases do
|
||||
collection do
|
||||
@@ -116,6 +123,7 @@ Orbit::Application.routes.draw do
|
||||
get 'download'
|
||||
end
|
||||
end
|
||||
|
||||
resources :roles do
|
||||
get 'role_field'
|
||||
get 'sub_role_field'
|
||||
@@ -124,6 +132,7 @@ Orbit::Application.routes.draw do
|
||||
get 'edit_sub_role'
|
||||
get 'add_attribute_field'
|
||||
end
|
||||
|
||||
resources :sites do
|
||||
get 'mail_setting'
|
||||
get 'site_info'
|
||||
@@ -134,18 +143,20 @@ Orbit::Application.routes.draw do
|
||||
get 'ui_theme'
|
||||
get 'change_design'
|
||||
end
|
||||
|
||||
resources :tags
|
||||
resources :users
|
||||
|
||||
resources :users_new_interface do
|
||||
member do
|
||||
get 'temp_edit'
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
resources :member_selects do
|
||||
match 'member_select_search' => "member_selects#member_select_search" ,:as => :member_select_search,:via => "post"
|
||||
match 'member_select_add' => "member_selects#member_select_add" ,:as => :member_select_add,:via => "post"
|
||||
end
|
||||
match 'member_select_search' => "member_selects#member_select_search" ,:as => :member_select_search,:via => "post"
|
||||
match 'member_select_add' => "member_selects#member_select_add" ,:as => :member_select_add,:via => "post"
|
||||
end
|
||||
|
||||
match 'module_store' => 'module_store#index'
|
||||
match 'module_store/show' => 'module_store#show'
|
||||
@@ -185,16 +196,7 @@ Orbit::Application.routes.draw do
|
||||
match '/desktop/widget_layout' => 'desktop#widget_layout'
|
||||
match '/desktop/temp_func/'=>'desktop#temp_func'
|
||||
|
||||
namespace :desktop do
|
||||
match '/journal_pages/get_journals_json' => 'journal_pages#get_journals_json'
|
||||
resources :journal_pages, except: :show
|
||||
resources :journal_lists, only: :index
|
||||
resources :co_authors, except: :show
|
||||
resources :co_author_relations, except: :show
|
||||
end
|
||||
|
||||
# namespace :desktop_publications do
|
||||
match 'desktop_publications/journal_p'=>'desktop_publications#journal_p'
|
||||
match 'desktop_publications/books' => 'desktop_publications#books'
|
||||
match 'desktop_publications/books_list'=>'desktop_publications#books_list'
|
||||
match 'desktop_publications/books_add'=>'desktop_publications#books_add'
|
||||
|
||||
Reference in new issue
Block a user