Skip to content

Commit 2aa33ab

Browse files
committed
Update README due to deprecation env in Rails 5.1
DEPRECATION WARNING: env is deprecated and will be removed from Rails 5.1 rails/rails#23294
1 parent 13b463e commit 2aa33ab

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
@@ -24,7 +24,7 @@ Start off by generating an initializer:
2424

2525
this will create file `config/initializers/detectify.rb` in your application directory.
2626

27-
You can configure Detectify for your application needs via initializer. After this you can access detected entity via: `env['Detectify-Entity']`.
27+
You can configure Detectify for your application needs via initializer. After this you can access detected entity via: `request.env['Detectify-Entity']`.
2828

2929
## Contributing
3030

0 commit comments

Comments
 (0)