lib/api_docs/engine.rb in api_docs-0.0.4 vs lib/api_docs/engine.rb in api_docs-1.0.0
- old
+ new
@@ -1,8 +1,5 @@
-require "api_docs"
-require "rails"
-
module ApiDocs
- class Engine < Rails::Engine
-
+ class Engine < ::Rails::Engine
+ isolate_namespace ApiDocs
end
-end
\ No newline at end of file
+end