-
Alex Ghiculescu authored
This: ```ruby resource :geocoder ``` and this: ```ruby resource :geocoder resolve('Geocoder') { [:geocoder] } ``` create exactly the same routes. Thus, it's better to show the simpler example rather than imply that both method calls are needed. `resolve` is used for [polymorphic routes](https://guides.rubyonrails.org/routing.html#using-resolve) but isn't necessary in this example.
Alex Ghiculescu authoredThis: ```ruby resource :geocoder ``` and this: ```ruby resource :geocoder resolve('Geocoder') { [:geocoder] } ``` create exactly the same routes. Thus, it's better to show the simpler example rather than imply that both method calls are needed. `resolve` is used for [polymorphic routes](https://guides.rubyonrails.org/routing.html#using-resolve) but isn't necessary in this example.
Loading