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
|
||||
@snippet = current_site.snippets.find(params[:id])
|
||||
@snippet.destroy
|
||||
# @snippet.destroy
|
||||
respond_with @snippet, :location => theme_assets_url
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user