app/views/reserves/index.rss.builder in enju_circulation-0.1.0.pre40 vs app/views/reserves/index.rss.builder in enju_circulation-0.1.0.pre41

- old
+ new

@@ -18,15 +18,15 @@ xml.tag! "atom:link", rel: 'alternate', href: reserves_url(user_id: @user.username) else xml.tag! "atom:link", rel: 'self', href: reserves_url(format: :rss) xml.tag! "atom:link", rel: 'alternate', href: reserves_url end - #xml.tag! "atom:link", rel: 'search', :type => 'application/opensearchdescription+xml', href: "http://#{request.host_with_port}/page/opensearch" + #xml.tag! "atom:link", rel: 'search', type: 'application/opensearchdescription+xml', href: "http://#{request.host_with_port}/page/opensearch" unless params[:query].blank? xml.tag! "opensearch:totalResults", @count[:query_result] xml.tag! "opensearch:startIndex", @reserves.offset + 1 xml.tag! "opensearch:itemsPerPage", @reserves.per_page - #xml.tag! "opensearch:Query", :role => 'request', :searchTerms => params[:query], :startPage => (params[:page] || 1) + #xml.tag! "opensearch:Query", role: 'request', searchTerms: params[:query], startPage: (params[:page] || 1) end @reserves.each do |reserve| xml.item do xml.title reserve.manifestation.original_title #xml.description(reserve.title)