config/routes.rb in configurable_engine-1.0.0 vs config/routes.rb in configurable_engine-2.0.0
- old
+ new
@@ -1,5 +1,3 @@
-Rails.application.routes.draw do
- namespace :admin do
- resource :configurable
- end
-end
\ No newline at end of file
+ConfigurableEngine::Engine.routes.draw do
+ resource :configurable, path: '/'
+end