diff --git a/app/controllers/templates_controller.rb b/app/controllers/templates_controller.rb index 76d55a5..c1ea7e8 100644 --- a/app/controllers/templates_controller.rb +++ b/app/controllers/templates_controller.rb @@ -50,7 +50,7 @@ } end - # PUT /org/admin/templates/:id/admin_customize + # GET /org/admin/templates/:id/admin_customize # ----------------------------------------------------- def admin_customize @template = Template.find(params[:id]) diff --git a/config/routes.rb b/config/routes.rb index 8fee9ee..4591fc9 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -125,10 +125,10 @@ get 'admin_template' get 'admin_new' get 'admin_template_history' + get 'admin_customize' delete 'admin_destroy' post 'admin_create' put 'admin_update' - put 'admin_customize' put 'admin_publish' put 'admin_unpublish' end