#328: rollback changes

This commit is contained in:
Vokhmin Alexey V 2013-11-26 22:19:29 +04:00
parent 00368aff60
commit 17b3ac4c23
1 changed files with 2 additions and 2 deletions

View File

@ -86,7 +86,7 @@ class UserMailer < ActionMailer::Base
set_locale user
mail(
:to => user.email,
:subject => I18n.t('notifications.subjects.new_commit', :project_name => "#{options['project_owner']}/#{options['project_name']}")
:subject => I18n.t('notifications.subjects.new_commit', :project_name => "#{options[:project_owner]}/#{options[:project_name]}")
) do |format|
format.html { render 'git_delete_branch_notification', :locals => options }
end
@ -96,7 +96,7 @@ class UserMailer < ActionMailer::Base
set_locale user
mail(
:to => user.email,
:subject => I18n.t('notifications.subjects.new_commit', :project_name => "#{options['project_owner']}/#{options['project_name']}")
:subject => I18n.t('notifications.subjects.new_commit', :project_name => "#{options[:project_owner]}/#{options[:project_name]}")
) do |format|
format.html { render 'git_new_push_notification', :locals => options }
end