Leverage existing polymorphic routes
This commit is contained in:
@@ -4,4 +4,4 @@
|
||||
|
||||
<%= event_notification_body(event).squish %>
|
||||
|
||||
<%= url_for(notification.source) %>
|
||||
<%= url_for notification %>
|
||||
|
||||
@@ -4,4 +4,4 @@
|
||||
|
||||
<%= mention.source.mentionable_content.truncate(250) %>
|
||||
|
||||
<%= url_for(mention) %>
|
||||
<%= url_for mention %>
|
||||
|
||||
Reference in New Issue
Block a user