Sha256: 4e2ac6cee9ab4bf2bfff5ca76794cf8931e4208c43d1a8b72cdba40ca6131d8c
Contents?: true
Size: 954 Bytes
Versions: 6
Compression:
Stored size: 954 Bytes
Contents
PublishMyData::Engine.routes.draw do # data home root :to => 'home#index' # resource show match "/resource(.:format)" => "resources#show", :as => 'show_resource' # http://resource?uri=http://foo.bar # resources lists match "/resources(.:format)" => "resources#index", :as => 'list_resources' # +filters on thh query string # datasets resources :datasets, :only => [:show, :index] # themes resources :themes, :only => [:index, :show] # URI dereferencing match "/id/*path" => "resources#id" match "/doc/*path.:format" => "resources#doc" match "/doc/*path" => "resources#doc" # def pages match "/def/*path.:format" => "resources#definition" match "/def/*path" => "resources#definition" # SPARQL match "sparql" => "sparql#endpoint", :as => 'sparql_endpoint' # the main sparql endpoint #http://techoctave.com/c7/posts/36-rails-3-0-rescue-from-routing-error-solution match '*a', :to => 'errors#routing' end
Version data entries
6 entries across 6 versions & 1 rubygems