Skip to content

Commit

Permalink
Merge pull request rails#36477 from albertoalmagro/alberto/button-to-…
Browse files Browse the repository at this point in the history
…default-path

[ci skip] Use default path in button_to documentation
  • Loading branch information
rafaelfranca authored Jun 13, 2019
2 parents c9e52d0 + 4f4fd0a commit 95d038f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actionview/lib/action_view/helpers/url_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ def link_to(name = nil, options = nil, html_options = nil, &block)
# # <input value="New" type="submit" />
# # </form>"
#
# <%= button_to "New", new_articles_path %>
# <%= button_to "New", new_article_path %>
# # => "<form method="post" action="/articles/new" class="button_to">
# # <input value="New" type="submit" />
# # </form>"
Expand Down

0 comments on commit 95d038f

Please sign in to comment.