aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/test
diff options
context:
space:
mode:
authorAkira Matsuda <ronnie@dio.jp>2014-11-20 06:57:22 +0900
committerAkira Matsuda <ronnie@dio.jp>2014-11-20 07:21:50 +0900
commit7839e27b4e467b5cf94e83555b9b6f0a4f6aaf8a (patch)
tree8211254f9d15750fc46a9db4362a8c2162ca0a34 /actionview/test
parent7a5a3a8828827dab7532a04a2c02a9c6aa626cd1 (diff)
downloadrails-7839e27b4e467b5cf94e83555b9b6f0a4f6aaf8a.tar.gz
rails-7839e27b4e467b5cf94e83555b9b6f0a4f6aaf8a.tar.bz2
rails-7839e27b4e467b5cf94e83555b9b6f0a4f6aaf8a.zip
Some valid block calls in templates caused syntax errors
Now ActionView accepts <%= foo(){ %> and <%= foo()do %> :golf:
Diffstat (limited to 'actionview/test')
-rw-r--r--actionview/test/fixtures/test/_label_with_block.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionview/test/fixtures/test/_label_with_block.erb b/actionview/test/fixtures/test/_label_with_block.erb
index 40117e594e..94089ea93d 100644
--- a/actionview/test/fixtures/test/_label_with_block.erb
+++ b/actionview/test/fixtures/test/_label_with_block.erb
@@ -1,4 +1,4 @@
-<%= label 'post', 'message' do %>
+<%= label('post', 'message')do %>
Message
<%= text_field 'post', 'message' %>
<% end %>