Skip to content

Commit

Permalink
Merge d6fcf85 into 4c20928
Browse files Browse the repository at this point in the history
  • Loading branch information
hemu committed Jan 30, 2019
2 parents 4c20928 + d6fcf85 commit cc554ba
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ Assuming that the post and comment endpoints are mounted in `/posts` and `/comme

### Mount Configuration

You can configure remountable endpoints for small details changing according to where they are mounted.
You can configure remountable endpoints to change small details according to where they are mounted.

```ruby
class Voting::API < Grape::API
Expand Down Expand Up @@ -551,15 +551,15 @@ Currently the configurable settings are:

* `param_builder`: Sets the [Parameter Builder](#parameters), defaults to `Grape::Extensions::ActiveSupport::HashWithIndifferentAccess::ParamBuilder`.

To change a setting value make sure that at some point on load time the code the following code runs
To change a setting value make sure that at some point during load time the following code runs

```ruby
Grape.configure do |config|
config.setting = value
end
```

For example, for the `param_builder`, the following code could run in an initializers:
For example, for the `param_builder`, the following code could run in an initializer:

```ruby
Grape.configure do |config|
Expand Down

0 comments on commit cc554ba

Please sign in to comment.