forked from Trustie/forgeplus
fixed 节点参数删除api
This commit is contained in:
parent
e943ec6f4c
commit
1c8a18487e
|
|
@ -50,7 +50,10 @@ class Action::NodeInputsController < ApplicationController
|
|||
else
|
||||
flash[:danger] = '删除失败'
|
||||
end
|
||||
redirect_to "api/actions/nodes"
|
||||
respond_to do |format|
|
||||
format.html { redirect_to "api/actions/nodes" }
|
||||
format.json { render_ok() }
|
||||
end
|
||||
end
|
||||
|
||||
private
|
||||
|
|
|
|||
Loading…
Reference in New Issue