X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/bf29550db840c97cafffbe1e836750bef6c7942d..17223b5177da34560e0eb55660b6c426a7e35ea2:/app/controllers/old_relation_controller.rb diff --git a/app/controllers/old_relation_controller.rb b/app/controllers/old_relation_controller.rb index 84d0b0c90..159b56f20 100644 --- a/app/controllers/old_relation_controller.rb +++ b/app/controllers/old_relation_controller.rb @@ -2,7 +2,7 @@ class OldRelationController < ApplicationController require 'xml/libxml' session :off - before_filter :check_read_availability + before_filter :check_api_readable after_filter :compress_output def history @@ -35,7 +35,7 @@ class OldRelationController < ApplicationController rescue ActiveRecord::RecordNotFound render :nothing => true, :status => :not_found rescue - render :nothing => true, :status => :internetal_service_error + render :nothing => true, :status => :internal_service_error end end end