fix typo
This commit is contained in:
parent
2f495bba7d
commit
6fbd56bd15
|
@ -21,7 +21,7 @@ class HatRequest < ActiveRecord::Base
|
||||||
m.author_user_id = user.id
|
m.author_user_id = user.id
|
||||||
m.recipient_user_id = self.user_id
|
m.recipient_user_id = self.user_id
|
||||||
m.subject = I18n.t 'models.hat.grantsubject', :hat => "#{self.hat}"
|
m.subject = I18n.t 'models.hat.grantsubject', :hat => "#{self.hat}"
|
||||||
m.body = raw(I18n.t 'models.hat.grantbody')
|
m.body = I18n.t 'models.hat.grantbody'
|
||||||
m.save!
|
m.save!
|
||||||
|
|
||||||
self.destroy
|
self.destroy
|
||||||
|
|
Loading…
Reference in a new issue