mirror of https://github.com/rails/rails
Ruby code block indentation issue fix
[skip ci] indentation fix [skip ci] review changes added [skip ci] indentation fix
This commit is contained in:
parent
9044d35c2f
commit
61a9c1a92a
|
@ -80,6 +80,7 @@
|
|||
This is very useful in situations where you only want to add a required param that is part of the route's URL but for other route not append an extraneous query param.
|
||||
|
||||
Given the following router...
|
||||
|
||||
```ruby
|
||||
Rails.application.routes.draw do
|
||||
scope ":account_id" do
|
||||
|
@ -91,6 +92,7 @@
|
|||
```
|
||||
|
||||
And given the following `ApplicationController`
|
||||
|
||||
```ruby
|
||||
class ApplicationController < ActionController::Base
|
||||
def default_url_options
|
||||
|
|
|
@ -96,6 +96,7 @@ Please refer to the [Changelog][action-view] for detailed changes.
|
|||
#=> <input type="hidden" name="_method" value="post" autocomplete="off" />
|
||||
# After
|
||||
#=> <input type="hidden" name="_method" value="patch" autocomplete="off" />
|
||||
```
|
||||
|
||||
Action Mailer
|
||||
-------------
|
||||
|
|
Loading…
Reference in New Issue