app/views/manifestations/index.oai.builder in enju_oai-0.1.0.pre13 vs app/views/manifestations/index.oai.builder in enju_oai-0.1.0.pre14
- old
+ new
@@ -2,10 +2,10 @@
xml.tag! "OAI-PMH",
:xmlns => "http://www.openarchives.org/OAI/2.0/",
"xmlns:xsi" => "http://www.w3.org/2001/XMLSchema-instance",
"xsi:schemaLocation" => "http://www.openarchives.org/OAI/2.0/ http://www.openarchives.org/OAI/2.0/OAI-PMH.xsd" do
xml.responseDate Time.zone.now.utc.iso8601
- xml.request manifestations_url(:format => :oai)
+ xml.request manifestations_url(format: :oai)
@oai[:errors].each do |error|
xml.error :code => error
end
end