Skip to content

Commit e1825c5

Browse files
committed
Updates invalid_versioner_option translation.
Adds `:accept_version_header` as valid setting.
1 parent a5f5f8f commit e1825c5

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#### 0.19.1 (Next)
22

3+
* [#1536](https://github.com/ruby-grape/grape/pull/1536): Updates `invalid_versioner_option` translation - [@Lavode](https://github.com/Lavode).
34
* Your contribution here.
45

56
### 0.19.0 (12/18/2016)

lib/grape/locale/en.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ en:
2626
invalid_formatter: 'cannot convert %{klass} to %{to_format}'
2727
invalid_versioner_option:
2828
problem: 'Unknown :using for versioner: %{strategy}'
29-
resolution: 'available strategy for :using is :path, :header, :param'
29+
resolution: 'available strategy for :using is :path, :header, :accept_version_header, :param'
3030
unknown_validator: 'unknown validator: %{validator_type}'
3131
unknown_options: 'unknown options: %{options}'
3232
unknown_parameter: 'unknown parameter: %{param}'

0 commit comments

Comments
 (0)