Class: Decidim::Comments::CommentCreatedEvent
- Inherits:
-
Events::SimpleEvent
- Object
- Events::SimpleEvent
- Decidim::Comments::CommentCreatedEvent
- Includes:
- Events::AuthorEvent
- Defined in:
- app/events/decidim/comments/comment_created_event.rb
Instance Method Summary collapse
Instance Method Details
#i18n_scope ⇒ Object
10 11 12 |
# File 'app/events/decidim/comments/comment_created_event.rb', line 10 def i18n_scope "decidim.events.comments.comment_created.#{comment_type}" end |
#resource_path ⇒ Object
14 15 16 |
# File 'app/events/decidim/comments/comment_created_event.rb', line 14 def resource_path resource_locator.path(url_params) end |
#resource_url ⇒ Object
18 19 20 |
# File 'app/events/decidim/comments/comment_created_event.rb', line 18 def resource_url resource_locator.url(url_params) end |