RepertoireFacetingExample::Application.routes.draw do

  path_prefix = RepertoireFacetingExample::Application.config.repertoire_assets.path_prefix

  scope "(/#{path_prefix})" do
    faceting_for :nobelists, :citizens         # NB must be BEFORE any resources!    
    
    match ':controller(/:action(/:id(.:format)))'
    
    match "/", :to => redirect("/nobelists")
  end
  
end

RepertoireFacetingExample::Application.routes.draw do

  path_prefix = RepertoireFacetingExample::Application.config.repertoire_assets.path_prefix

  scope "(/#{path_prefix})" do
    faceting_for :nobelists, :citizens         # NB must be BEFORE any resources!    
    
    match ':controller(/:action(/:id(.:format)))'
  end  
  
  root :to => 'nobelists#index'
end

Tweak to make root route work in presence of a prefix path.
Tweak to make root route work in presence of a prefix path.
