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