Use separator key when parameterizing arguments
This commit is contained in:
committed by
Julian Herrero
parent
cb1ed017f9
commit
7ddbf5ff35
@@ -10,7 +10,7 @@ module Notifications
|
||||
end
|
||||
|
||||
def comment_body(resource)
|
||||
"comment-body-#{resource.class.name.parameterize("_").to_sym}_#{resource.id}"
|
||||
"comment-body-#{resource.class.name.parameterize(separator: "_").to_sym}_#{resource.id}"
|
||||
end
|
||||
|
||||
def create_proposal_notification(proposal)
|
||||
|
||||
Reference in New Issue
Block a user