lib/generators/templates/controllers/README in activity_notification-1.4.4 vs lib/generators/templates/controllers/README in activity_notification-1.5.0
- old
+ new
@@ -4,10 +4,10 @@
Ensure you have overridden routes for generated controllers in your routes.rb.
For example:
Rails.application.routes.draw do
- notify_to :users, controllers: 'users/notifications'
- notify_to :admins, with_devise: :users, controllers: 'admins/notifications_with_devise'
+ notify_to :users, controller: 'users/notifications'
+ notify_to :admins, with_devise: :users, controller: 'admins/notifications_with_devise'
end
===============================================================================