trying to implement the destroy action for theme assets (wip)

This commit is contained in:
did 2011-12-05 06:39:52 -08:00
parent 1b8c1c7157
commit ad8fad3ce5
2 changed files with 3 additions and 3 deletions

View File

@ -28,7 +28,7 @@ module Locomotive
def destroy def destroy
@snippet = current_site.snippets.find(params[:id]) @snippet = current_site.snippets.find(params[:id])
@snippet.destroy # @snippet.destroy
respond_with @snippet, :location => theme_assets_url respond_with @snippet, :location => theme_assets_url
end end

View File

@ -25,10 +25,10 @@ x edit my site
x create a new site x create a new site
x create a new accounts x create a new accounts
- theme assets - theme assets
xpolish the page
x snippets x snippets
- polish the page
- upload many files at once
- delete in ajax - delete in ajax
- upload many files at once
- site picker - site picker
- import/export - import/export
- content types - content types