@@ -37,8 +37,6 class IssueRelationsController < ApplicationController | |||
|
37 | 37 | format.html { render :nothing => true } |
|
38 | 38 | format.api |
|
39 | 39 | end |
|
40 | rescue ActiveRecord::RecordNotFound | |
|
41 | render_404 | |
|
42 | 40 | end |
|
43 | 41 | |
|
44 | 42 | verify :method => :post, :only => :create, :render => {:nothing => true, :status => :method_not_allowed } |
@@ -82,8 +80,6 class IssueRelationsController < ApplicationController | |||
|
82 | 80 | format.js { render(:update) {|page| page.remove "relation-#{@relation.id}"} } |
|
83 | 81 | format.api { head :ok } |
|
84 | 82 | end |
|
85 | rescue ActiveRecord::RecordNotFound | |
|
86 | render_404 | |
|
87 | 83 | end |
|
88 | 84 | |
|
89 | 85 | private |
General Comments 0
You need to be logged in to leave comments.
Login now