trying to implement the destroy action for theme assets (wip)
This commit is contained in:
parent
1b8c1c7157
commit
ad8fad3ce5
@ -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
|
||||||
|
|
||||||
|
4
doc/TODO
4
doc/TODO
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user