From 30eabcb9216ca31ddc6169dc01839672f86d8ce2 Mon Sep 17 00:00:00 2001 From: "shingo.nakanishi" Date: Thu, 17 Sep 2015 23:18:22 +0900 Subject: [PATCH] No need the `a` --- actionview/lib/action_view/helpers/form_helper.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/actionview/lib/action_view/helpers/form_helper.rb b/actionview/lib/action_view/helpers/form_helper.rb index 8c7ba8814e..ebf5ea5b77 100644 --- a/actionview/lib/action_view/helpers/form_helper.rb +++ b/actionview/lib/action_view/helpers/form_helper.rb @@ -1880,8 +1880,8 @@ def submit(value=nil, options={}) # create: "Add %{model}" # # ==== Examples - # button("Create a post") - # # => + # button("Create post") + # # => # # button do # content_tag(:strong, 'Ask me!')