engine/app/controllers/admin/assets_controller.rb

20 lines
269 B
Ruby

module Admin # TODO
class AssetsController < BaseController
sections 'assets'
respond_to :json, :only => :update
def create
create! { admin_assets_url }
end
def update
update! { admin_assets_url }
end
protected
end
end