Advertisement
Guest User

Untitled

a guest
Jun 27th, 2017
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. 1) how do I make "#{@message[:participant].commentable.item_title}" linked to polymorphic_url(@message[:participant].item_link, :only_path => false)
  2.  
  3. i.e. in comment_message html
  4.  
  5. == #{@message[:originator].name} commented on "#{@message[:participant].commentable.item_title}" at #{@message[:site_title]}:
  6. %a{:href=> polymorphic_url(@message[:participant].item_link, :only_path => false) }= I18n.translate('message.click_respond')
  7.  
  8. 2) also - joel wants this footer added to email notifications (not popup notifications) - where/how would I do that
  9.  
  10. <p>To turn off these email notifications, update your <a href="edit setting page">Your Boston settings</a>.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement