app/views/concepts/_header.html.erb

Summary

Maintainability
Test Coverage
<% published_param = concept.published? ? nil : 0 %>
<%= content_for :head do -%>
  <link href="<%= rdf_url(concept.origin, :format => :ttl, :published => published_param, :lang => nil) %>" type="text/turtle" rel="alternate" title=""/>
  <link href="<%= rdf_url(concept.origin, :format => :rdf, :published => published_param, :lang => nil) %>" type="application/rdf+xml" rel="alternate" title=""/>
  <link href="<%= concept_path(concept, :format => :json, :published => published_param) %>" type="application/json" rel="alternate"/>
<% end -%>

<%= concept_header concept %>