8000 correct i18n key for scopes (#5943) · stephancom/activeadmin@8f2477c · GitHub 8000
[go: up one dir, main page]

Skip to content

Commit 8f2477c

Browse files
adler99javierjulio
authored andcommitted
correct i18n key for scopes (activeadmin#5943)
docs have wrong key for translating scope names. updated docs to correspond with: https://github.com/activeadmin/activeadmin/blob/b52e8cbb80ca977d7037de42e51e981a8cf7dc41/lib/active_admin/resource/scopes.rb#L28
1 parent 330911b commit 8f2477c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/3-index-pages.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ end
212212
```
213213

214214
Scopes can be labelled with a translation, e.g.
215-
`activerecord.scopes.invoice.expired`.
215+
`active_admin.scopes.scope_method`.
216216

217217
### Scopes groups
218218

0 commit comments

Comments
 (0)
0