Skip to content

Commit

Permalink
Example in generator should have the correct name (#398)
Browse files Browse the repository at this point in the history
  • Loading branch information
emilkarl authored Feb 8, 2024
1 parent 4d2c7a9 commit 2cc74b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/generators/noticed/templates/notifier.rb.tt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# To deliver this notification:
#
# <%= class_name %>.with(record: @post, message: "New post").deliver(User.all)
# <%= class_name %>Notifier.with(record: @post, message: "New post").deliver(User.all)

class <%= class_name %>Notifier < ApplicationNotifier
# Add your delivery methods
Expand Down

0 comments on commit 2cc74b9

Please sign in to comment.