summaryrefslogtreecommitdiffstats
path: root/app/controllers/trackers_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/trackers_controller.rb')
-rw-r--r--app/controllers/trackers_controller.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/trackers_controller.rb b/app/controllers/trackers_controller.rb
index 72dbdaf7c..363bd40d8 100644
--- a/app/controllers/trackers_controller.rb
+++ b/app/controllers/trackers_controller.rb
@@ -67,7 +67,7 @@ class TrackersController < ApplicationController
flash[:notice] = l(:notice_successful_update)
redirect_to trackers_path(:page => params[:page])
}
- format.js { render :nothing => true }
+ format.js { head 200 }
end
else
respond_to do |format|
@@ -75,7 +75,7 @@ class TrackersController < ApplicationController
edit
render :action => 'edit'
}
- format.js { render :nothing => true, :status => 422 }
+ format.js { head 422 }
end
end
end