excid3 / noticed

Notifications for Ruby on Rails applications
MIT License
2.44k stars 173 forks source link

Fix `noticed:notifier` generator in README #438

Closed marcoroth closed 7 months ago

marcoroth commented 7 months ago

Pull Request

Summary: Changes the Rails generator from noticed:notification to noticed:notifier in the README.

Related Issue: None

Description: Seems like this is a leftover.

Testing:

Running the noticed:notification throws an error.

❯ rails generate noticed:notification FirstSyncNotification
Could not find generator 'noticed:notification'. (Rails::Command::CorrectableNameError)
Did you mean?  noticed:notifier
Run `bin/rails generate --help` for more options.

Using the suggested noticed:notifier works:

❯ rails generate noticed:notifier FirstSyncNotification
      create  app/notifiers/first_sync_notification_notifier.rb

Screenshots (if applicable): -

Checklist:

Additional Notes: None