app/views/search_results/_sidebar.html.erb in iqvoc-4.0.8 vs app/views/search_results/_sidebar.html.erb in iqvoc-4.0.9

- old
+ new

@@ -1,7 +1,7 @@ <% if results %> <%= sidebar do %> <%= sidebar_header t('txt.common.representations') %> - <%= sidebar_item :icon => 'share', :text => 'RDF/XML', :path => url_for(request.query_parameters.merge(:format => :rdf, :lang => nil, :page => results.current_page, :only_path => false)), :id => 'rdf_link_xml' %> - <%= sidebar_item :icon => 'share', :text => 'RDF/Turtle', :path => url_for(request.query_parameters.merge(:format => :ttl, :lang => nil, :page => @results.current_page, :only_path => false)), :id => 'rdf_link_ttl' %> + <%= sidebar_item :icon => 'share', :text => 'RDF/XML', :path => rdf_search_path(request.query_parameters.merge(:format => :rdf, :lang => nil, :page => results.current_page, :only_path => false)), :id => 'rdf_link_xml' %> + <%= sidebar_item :icon => 'share', :text => 'RDF/Turtle', :path => rdf_search_path(request.query_parameters.merge(:format => :ttl, :lang => nil, :page => @results.current_page, :only_path => false)), :id => 'rdf_link_ttl' %> <% end %> <% end %> \ No newline at end of file