Fix typo
This commit is contained in:
parent
4239843b3e
commit
cf0fcccfc3
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ module MessagesHelper
|
||||||
|
|
||||||
def link_to_new_message(options = {})
|
def link_to_new_message(options = {})
|
||||||
messages_params = options[:message_params] || nil
|
messages_params = options[:message_params] || nil
|
||||||
link_text = content_tag :id, nil, class: 'icon-envelope'
|
link_text = content_tag :i, nil, class: 'icon-envelope'
|
||||||
link_text << " #{options[:text]}" if options[:text].present?
|
link_text << " #{options[:text]}" if options[:text].present?
|
||||||
link_to(link_text.html_safe, new_message_path(message: messages_params), class: 'btn',
|
link_to(link_text.html_safe, new_message_path(message: messages_params), class: 'btn',
|
||||||
title: I18n.t('helpers.submit.message.create'))
|
title: I18n.t('helpers.submit.message.create'))
|
||||||
|
|
Loading…
Reference in a new issue