Skip to content

Commit 8c510eb

Browse files
committed
Merge branch 'main' of github.com:railsware/js-routes
2 parents 11d4fbb + 5179d40 commit 8c510eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -483,7 +483,7 @@ While all of these methods are supported by JsRoutes, it is impossible to suppor
483483
If you are using routes like this, use the following configuration that will prevent required parameters presence to be validated by definition:
484484

485485
``` ruby
486-
JsRoutes.configure do |c|
486+
JsRoutes.setup do |c|
487487
c.optional_definition_params = true
488488
end
489489
```

0 commit comments

Comments
 (0)