File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -400,7 +400,7 @@ Assuming that the post and comment endpoints are mounted in `/posts` and `/comme
400
400
401
401
### Mount Configuration
402
402
403
- You can configure remountable endpoints for small details changing according to where they are mounted.
403
+ You can configure remountable endpoints to change small details according to where they are mounted.
404
404
405
405
``` ruby
406
406
class Voting ::API < Grape ::API
@@ -551,15 +551,15 @@ Currently the configurable settings are:
551
551
552
552
* ` param_builder ` : Sets the [ Parameter Builder] ( #parameters ) , defaults to ` Grape::Extensions::ActiveSupport::HashWithIndifferentAccess::ParamBuilder ` .
553
553
554
- To change a setting value make sure that at some point on load time the code the following code runs
554
+ To change a setting value make sure that at some point during load time the following code runs
555
555
556
556
``` ruby
557
557
Grape .configure do |config |
558
558
config.setting = value
559
559
end
560
560
```
561
561
562
- For example, for the ` param_builder ` , the following code could run in an initializers :
562
+ For example, for the ` param_builder ` , the following code could run in an initializer :
563
563
564
564
``` ruby
565
565
Grape .configure do |config |
You can’t perform that action at this time.
0 commit comments