Use each to iterate over array in mailer and fix comment link

*_url gives complete path with host
This commit is contained in:
Aditya Prakash 2016-03-29 23:22:32 +05:30
parent 11bae37cc4
commit d9db395ec6
5 changed files with 9 additions and 7 deletions

View file

@ -1,4 +1,6 @@
class EmailSettings < ActiveRecord::Base
belongs_to :conference
def get_values(conference, user, event = nil)
h = {
'email' => user.email,