lib/spotlight/rails/routes.rb in blacklight-spotlight-0.4.1 vs lib/spotlight/rails/routes.rb in blacklight-spotlight-0.5.0

- old
+ new

@@ -1,8 +1,11 @@ -module ActionDispatch::Routing - class Mapper - +module Spotlight + ## + # Spotlight routing helpers + module Routes def spotlight_root - root to: "spotlight/default#index" + root to: 'spotlight/default#index' end end end + +ActionDispatch::Routing::Mapper.send :include, Spotlight::Routes