Make browse not found pages consistent
This commit is contained in:
parent
97b14ce22a
commit
68e55078ec
19 changed files with 56 additions and 40 deletions
|
@ -10,6 +10,6 @@ class OldNodesController < OldElementsController
|
|||
@type = "node"
|
||||
@feature = OldNode.preload(:old_tags, :changeset => [:changeset_tags, :user]).find([params[:id], params[:version]])
|
||||
rescue ActiveRecord::RecordNotFound
|
||||
render :action => "not_found", :status => :not_found
|
||||
render "browse/not_found", :status => :not_found
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue