diff options
author | Rafael França <rafaelmfranca@gmail.com> | 2019-06-13 17:45:59 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-13 17:45:59 -0400 |
commit | 95d038f020d91628c8b0633a28b654471cf72a9d (patch) | |
tree | ff02a99ecd6b3959b2dfb6df87c7b2545432a6d0 /actionview | |
parent | c9e52d028c0347e377177a271486edfb3dac3975 (diff) | |
parent | 4f4fd0a625a3edc2a05ae05b7b5a6e110bf5d5a6 (diff) | |
download | rails-95d038f020d91628c8b0633a28b654471cf72a9d.tar.gz rails-95d038f020d91628c8b0633a28b654471cf72a9d.tar.bz2 rails-95d038f020d91628c8b0633a28b654471cf72a9d.zip |
Merge pull request #36477 from albertoalmagro/alberto/button-to-default-path
[ci skip] Use default path in button_to documentation
Diffstat (limited to 'actionview')
-rw-r--r-- | actionview/lib/action_view/helpers/url_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionview/lib/action_view/helpers/url_helper.rb b/actionview/lib/action_view/helpers/url_helper.rb index df83dff681..4b3a258287 100644 --- a/actionview/lib/action_view/helpers/url_helper.rb +++ b/actionview/lib/action_view/helpers/url_helper.rb @@ -253,7 +253,7 @@ module ActionView # # <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>" |