config/routes.rb in blacklight_unapi-0.0.3 vs config/routes.rb in blacklight_unapi-0.1.0
- old
+ new
@@ -1,5 +1,4 @@
-# We want to add a new collection action to Catalog, without over-writing
-# # what's already there. This SEEMS to do it.
-BlacklightUnapi::Engine.routes.draw do
+Rails.application.routes.draw do
+ get 'unapi', to: "catalog#unapi", as: 'unapi'
end