From 3134605391e4d5cf270f2ba79ea810eee4cffc5a Mon Sep 17 00:00:00 2001 From: Mr A Date: Thu, 14 Nov 2013 13:41:37 +0530 Subject: Ruby's new Hash syntax applied in actionmailer --- actionmailer/test/fixtures/base_mailer/email_with_translations.html.erb | 2 +- actionmailer/test/fixtures/test_mailer/included_subtemplate.text.erb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'actionmailer/test/fixtures') diff --git a/actionmailer/test/fixtures/base_mailer/email_with_translations.html.erb b/actionmailer/test/fixtures/base_mailer/email_with_translations.html.erb index 30466dd005..d676a6d2da 100644 --- a/actionmailer/test/fixtures/base_mailer/email_with_translations.html.erb +++ b/actionmailer/test/fixtures/base_mailer/email_with_translations.html.erb @@ -1 +1 @@ -<%= t('.greet_user', :name => 'lifo') %> \ No newline at end of file +<%= t('.greet_user', name: 'lifo') %> \ No newline at end of file diff --git a/actionmailer/test/fixtures/test_mailer/included_subtemplate.text.erb b/actionmailer/test/fixtures/test_mailer/included_subtemplate.text.erb index a93c30ea1a..ae3cfa77e7 100644 --- a/actionmailer/test/fixtures/test_mailer/included_subtemplate.text.erb +++ b/actionmailer/test/fixtures/test_mailer/included_subtemplate.text.erb @@ -1 +1 @@ -Hey Ho, <%= render :partial => "subtemplate" %> \ No newline at end of file +Hey Ho, <%= render partial: "subtemplate" %> \ No newline at end of file -- cgit v1.2.3