config/routes.rb in talkie-0.2.0 vs config/routes.rb in talkie-0.3.0
- old
+ new
@@ -1,3 +1,7 @@
Talkie::Engine.routes.draw do
resources :comments, only: [:create, :destroy]
+
+ if Talkie.mentions_enabled?
+ resources :mentions, only: [:index]
+ end
end