Merge pull request #19288 from yui-knk/fix/routing
[ci skip] Change to code element
This commit is contained in:
commit
9cb07a429a
@ -1006,7 +1006,7 @@ TIP: If your application has many RESTful routes, using `:only` and `:except` to
|
||||
|
||||
### Translated Paths
|
||||
|
||||
Using `scope`, we can alter path names generated by resources:
|
||||
Using `scope`, we can alter path names generated by `resources`:
|
||||
|
||||
```ruby
|
||||
scope(path_names: { new: 'neu', edit: 'bearbeiten' }) do
|
||||
|
Loading…
Reference in New Issue
Block a user