app/controllers/kpm/nodes_info_controller.rb in killbill-kpm-0.2.0 vs app/controllers/kpm/nodes_info_controller.rb in killbill-kpm-0.3.0
- old
+ new
@@ -48,25 +48,25 @@
redirect_to :action => :index
end
def uninstall_plugin
trigger_node_plugin_command('UNINSTALL_PLUGIN')
- render :nothing => true
+ head :ok
end
def start_plugin
trigger_node_plugin_command('START_PLUGIN')
- render :nothing => true
+ head :ok
end
def stop_plugin
trigger_node_plugin_command('STOP_PLUGIN')
- render :nothing => true
+ head :ok
end
def restart_plugin
trigger_node_plugin_command('RESTART_PLUGIN')
- render :nothing => true
+ head :ok
end
private
def trigger_node_plugin_command(command_type, command_properties=[])