Panopticon::Application.routes.draw do
  resources :artefacts
  resources :tags, :defaults => {:format => 'json'}

  resources :curated_lists, only: :index

  match 'tags/:id' => 'tags#show', :id =>  /[^\.]+/, :defaults => {:format => 'json'}

  match 'google_insight' => 'seo#show'

  root :to => redirect("/artefacts")
end

Panopticon::Application.routes.draw do
  resources :artefacts, :constraints => { :id => /[^\.]+/ }
  resources :tags, :defaults => {:format => 'json'}

  resources :curated_lists, only: :index

  match 'tags/:id' => 'tags#show', :id =>  /[^\.]+/, :defaults => {:format => 'json'}

  match 'google_insight' => 'seo#show'

  root :to => redirect("/artefacts")
end

Modify ID constraint on route for artefact to support slashes
Modify ID constraint on route for artefact to support slashes
