Method: ApplicationHelper#iqvoc_default_rdf_namespaces

Defined in:
app/helpers/application_helper.rb

#iqvoc_default_rdf_namespacesObject



19
20
21
22
23
24
25
# File 'app/helpers/application_helper.rb', line 19

def iqvoc_default_rdf_namespaces
  Iqvoc.rdf_namespaces.merge({
      :default => root_url(:format => nil, :lang => nil, :trailing_slash => true).gsub(/\/\/$/, "/"), # gsub because of a Rails bug :-(
      :coll => collections_url(:trailing_slash => true, :lang => nil, :format => nil),
      :schema => controller.schema_url(:format => nil, :anchor => "", :lang => nil)
    })
end