aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/lib/action_view/helpers/form_helper.rb
diff options
context:
space:
mode:
authorshingo.nakanishi <shingo7ka24@gmail.com>2015-09-17 23:18:22 +0900
committershingo.nakanishi <shingo7ka24@gmail.com>2015-09-17 23:18:22 +0900
commit30eabcb9216ca31ddc6169dc01839672f86d8ce2 (patch)
tree536670cb3446033f13792fbb25dd1f124121bad1 /actionview/lib/action_view/helpers/form_helper.rb
parent66d6cab9874e599bd4bde946a9a699b1aa17a737 (diff)
downloadrails-30eabcb9216ca31ddc6169dc01839672f86d8ce2.tar.gz
rails-30eabcb9216ca31ddc6169dc01839672f86d8ce2.tar.bz2
rails-30eabcb9216ca31ddc6169dc01839672f86d8ce2.zip
No need the `a`
Diffstat (limited to 'actionview/lib/action_view/helpers/form_helper.rb')
-rw-r--r--actionview/lib/action_view/helpers/form_helper.rb4
1 files 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 @@ module ActionView
# create: "Add %{model}"
#
# ==== Examples
- # button("Create a post")
- # # => <button name='button' type='submit'>Add post</button>
+ # button("Create post")
+ # # => <button name='button' type='submit'>Create post</button>
#
# button do
# content_tag(:strong, 'Ask me!')