Commit aaece382 authored by Adrien Kohlbecker's avatar Adrien Kohlbecker

Drop unused plain javascript file

parent 41de26fa
...@@ -17,7 +17,6 @@ class Admin::RunnersController < Admin::ApplicationController ...@@ -17,7 +17,6 @@ class Admin::RunnersController < Admin::ApplicationController
def update def update
if Ci::UpdateRunnerService.new(@runner).update(runner_params) if Ci::UpdateRunnerService.new(@runner).update(runner_params)
respond_to do |format| respond_to do |format|
format.js
format.html { redirect_to admin_runner_path(@runner) } format.html { redirect_to admin_runner_path(@runner) }
end end
else else
......
:plain
$("#runner_#{@runner.id}").replaceWith("#{escape_javascript(render(@runner))}")
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment