2011-10-30 23:02:41 +00:00
|
|
|
module Locomotive
|
2010-05-10 22:39:52 +00:00
|
|
|
class SnippetsController < BaseController
|
2010-07-23 20:09:54 +00:00
|
|
|
|
2010-09-22 12:50:01 +00:00
|
|
|
sections 'settings', 'theme_assets'
|
2010-07-23 20:09:54 +00:00
|
|
|
|
2010-07-13 20:01:40 +00:00
|
|
|
respond_to :json, :only => :update
|
2010-07-23 20:09:54 +00:00
|
|
|
|
2010-09-22 12:50:01 +00:00
|
|
|
def destroy
|
|
|
|
destroy! do |format|
|
2011-10-31 23:44:23 +00:00
|
|
|
format.html { redirect_to theme_assets_url }
|
2010-09-22 12:50:01 +00:00
|
|
|
end
|
2010-05-10 22:39:52 +00:00
|
|
|
end
|
2010-07-23 20:09:54 +00:00
|
|
|
|
2010-05-10 22:39:52 +00:00
|
|
|
end
|
2010-07-23 20:09:54 +00:00
|
|
|
end
|