Skip to content

Commit

Permalink
Merge pull request #215 from manuelmeurer/patch-2
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianthedev authored May 27, 2024
2 parents f5f1070 + 43a12cb commit 2f6a099
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/3.0/guides/basic-authentication.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Ensure you restart the server after you extend the controller in this way.
module BasicAuth
extend ActiveSupport::Concern
# Aiuthentication strategy came from this article
# Authentication strategy came from this article:
# https://dev.to/kevinluo201/setup-a-basic-authentication-in-rails-with-http-authentication-388e
included do
http_basic_authenticate_with name: "adrian", password: "password"
Expand All @@ -43,7 +43,7 @@ Avo.configure do |config|
# Avo configuration
end
# Add this to include it to Avo's ApplicationController
# Add this to include it in Avo's ApplicationController
Rails.configuration.to_prepare do
# Add basic authentication to Avo
Avo::ApplicationController.include BasicAuth
Expand Down

0 comments on commit 2f6a099

Please sign in to comment.