Add member variable @user for mailer templates
This commit is contained in:
parent
1afd461542
commit
66389b73f4
@ -3,7 +3,7 @@
|
||||
module Additionals
|
||||
class Gemify
|
||||
class << self
|
||||
# install emoji fallback assets from gem (without asset pipline)
|
||||
# install emoji fallback assets from gem (without asset pipeline)
|
||||
def install_emoji_assets
|
||||
Additionals.debug 'install_emoji_assets'
|
||||
return Rails.logger.error 'TanukiEmoji class for emoji not found' unless defined? TanukiEmoji
|
||||
|
@ -39,6 +39,7 @@ module Additionals
|
||||
message_id entity
|
||||
|
||||
@author = entity.author
|
||||
@user = user
|
||||
@entity = entity
|
||||
@entity_url = entity_url
|
||||
|
||||
@ -52,6 +53,7 @@ module Additionals
|
||||
message_id journal
|
||||
|
||||
@author = journal.user
|
||||
@user = user
|
||||
@entity = entity
|
||||
@entity_url = entity_url
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user