README.md in api_doc_server-1.0.0 vs README.md in api_doc_server-1.0.1
- old
+ new
@@ -42,10 +42,10 @@
```
# config/initializers/api_doc_server.rb
ApiDocServer.configure do |config|
- config.authentication_proc = proc do |controller|
+ config.authentication_proc = proc
authenticate_or_request_with_http_basic do |username, password|
User.find_by(name: username, password: password)
end
end
end