Skip to content

Commit

Permalink
Include routes and Noticed::Translation in Noticed::Ephemeral (#485)
Browse files Browse the repository at this point in the history
* Include `Noticed::Translation` in `Noticed::Ephemeral`

Ooops, I should have included this in #484, sorry.

* Update ephemeral.rb
  • Loading branch information
ghiculescu authored Sep 6, 2024
1 parent 505e6c9 commit 02027a3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/models/noticed/ephemeral.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ class Ephemeral
include ActiveModel::Model
include ActiveModel::Attributes
include Noticed::Deliverable
include Noticed::Translation
include Rails.application.routes.url_helpers

attribute :record
attribute :params, default: {}
Expand All @@ -11,6 +13,7 @@ class Notification
include ActiveModel::Model
include ActiveModel::Attributes
include Noticed::Translation
include Rails.application.routes.url_helpers

attribute :recipient
attribute :event
Expand Down

0 comments on commit 02027a3

Please sign in to comment.