Method: Ums::FunctionsController#destroy

Defined in:
app/controllers/ums/functions_controller.rb

#destroyObject

DELETE /ums/functions/1 DELETE /ums/functions/1.json



56
57
58
59
60
61
62
# File 'app/controllers/ums/functions_controller.rb', line 56

def destroy
  @ums_function.destroy
  respond_to do |format|
    format.html { redirect_to ums.functions_url , notice: '功能删除成功.'}
    format.json { head :no_content }
  end
end