config/routes.rb in knowledge_base-0.1.0 vs config/routes.rb in knowledge_base-0.2.0
- old
+ new
@@ -1,2 +1,4 @@
KnowledgeBase::Engine.routes.draw do
+ resources :articles, path: KnowledgeBase.config.articles_path, only: [:index, :show]
+
resources :categories, path: KnowledgeBase.config.categories_path, only: [:index, :show] do
resources :articles, path: KnowledgeBase.config.articles_path, only: [:show]