- template list/show is loaded from central server

- buy a template downloads and creates it in DB
- changes in designs index
This commit is contained in:
chris committed 2012-12-06 23:20:27 +08:00
1 parent eb53343bdb
commit 6f1748d2b3
12 files changed
+195 -96

No files matched your search

+8 -7
View File
@@ -112,6 +112,7 @@ Orbit::Application.routes.draw do
get 'install_app'
end
member do
get 'buy_template'
get 'download'
end
end
@@ -137,14 +138,14 @@ Orbit::Application.routes.draw do
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'
match 'template_store' => 'template_store#index'
match 'template_store/show' => 'template_store#show'
match 'module_store' => 'module_store#index'
match 'module_store/show' => 'module_store#show'
match 'template_store' => 'template_store#index'
match 'template_store/template/:id' => 'template_store#show', :as => :template_store_template
end
# end admin