diff --git a/app/controllers/metadata_controller.rb b/app/controllers/metadata_controller.rb index 299fc2d5b8f..8148b9c0fd0 100644 --- a/app/controllers/metadata_controller.rb +++ b/app/controllers/metadata_controller.rb @@ -9,7 +9,7 @@ class MetadataController < ApplicationController end def opensearch - render file: "#{Rails.root}/app/views/metadata/opensearch.xml" + render template: "metadata/opensearch.xml" end private