summaryrefslogtreecommitdiffstats
path: root/app/controllers/issue_relations_controller.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2011-11-29 18:20:39 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2011-11-29 18:20:39 +0000
commit740dc53aab0c7cd9adf582c992cf0daf885a94c3 (patch)
treec1aff6c9d25d133f19cf352bde80634efa14925e /app/controllers/issue_relations_controller.rb
parent361c059a6fcdfc87fdc04f67abd9c59dcb7a80fa (diff)
downloadredmine-740dc53aab0c7cd9adf582c992cf0daf885a94c3.tar.gz
redmine-740dc53aab0c7cd9adf582c992cf0daf885a94c3.zip
Removed useless rescue.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7981 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers/issue_relations_controller.rb')
-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