From ad8fad3ce53ea4aad6a7c582e364538fb2faebbd Mon Sep 17 00:00:00 2001 From: did Date: Mon, 5 Dec 2011 06:39:52 -0800 Subject: [PATCH] trying to implement the destroy action for theme assets (wip) --- app/controllers/locomotive/snippets_controller.rb | 2 +- doc/TODO | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/controllers/locomotive/snippets_controller.rb b/app/controllers/locomotive/snippets_controller.rb index 03c83b0b..bd6ac665 100644 --- a/app/controllers/locomotive/snippets_controller.rb +++ b/app/controllers/locomotive/snippets_controller.rb @@ -28,7 +28,7 @@ module Locomotive def destroy @snippet = current_site.snippets.find(params[:id]) - @snippet.destroy + # @snippet.destroy respond_with @snippet, :location => theme_assets_url end diff --git a/doc/TODO b/doc/TODO index c0ba52ff..ce35eab8 100644 --- a/doc/TODO +++ b/doc/TODO @@ -25,10 +25,10 @@ x edit my site x create a new site x create a new accounts - theme assets + xpolish the page x snippets - - polish the page - - upload many files at once - delete in ajax + - upload many files at once - site picker - import/export - content types