Skip to content

Commit

Permalink
Merge branch 'main' of github.com:avo-hq/avodocs
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianthedev committed May 28, 2024
2 parents adf5009 + 2f6a099 commit b0e61ff
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 b0e61ff

Please sign in to comment.