summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/controllers/issue_relations_controller.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/app/controllers/issue_relations_controller.rb b/app/controllers/issue_relations_controller.rb
index b51419f69..b721d3069 100644
--- a/app/controllers/issue_relations_controller.rb
+++ b/app/controllers/issue_relations_controller.rb
@@ -37,8 +37,6 @@ class IssueRelationsController < ApplicationController
format.html { render :nothing => true }
format.api
end
- rescue ActiveRecord::RecordNotFound
- render_404
end
verify :method => :post, :only => :create, :render => {:nothing => true, :status => :method_not_allowed }
@@ -82,8 +80,6 @@ class IssueRelationsController < ApplicationController
format.js { render(:update) {|page| page.remove "relation-#{@relation.id}"} }
format.api { head :ok }
end
- rescue ActiveRecord::RecordNotFound
- render_404
end
private