Sha256: e13fcd3817fefcfad5f6101d30b4374285a86c5e64bd07fdb73e40c3e8c71269

Contents?: true

Size: 569 Bytes

Versions: 1

Compression:

Stored size: 569 Bytes

Contents

<% if resource.local? %>
  <%= link_to "JSON", :format => 'json' %>
  <%= link_to "RDF/XML", :format => 'rdf' %>
  <%= link_to "Turtle", :format => 'ttl' %>
  <%= link_to "N-triples", :format => 'nt' %>
<% else %>
  <%= link_to "JSON", show_resource_path(:uri => resource.uri, :format => 'json') %>
  <%= link_to "RDF/XML", show_resource_path(:uri => resource.uri, :format => 'rdf') %>
  <%= link_to "Turtle", show_resource_path(:uri => resource.uri, :format => 'ttl') %>
  <%= link_to "N-triples", show_resource_path(:uri => resource.uri, :format => 'nt') %>
<% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
publish_my_data-0.0.4 app/views/publish_my_data/resources/_resource_formats.html.erb