From 43a12cbb484165ef740a0d198d43a864fa2bfa3d Mon Sep 17 00:00:00 2001 From: Manuel Meurer Date: Mon, 27 May 2024 12:17:14 +0200 Subject: [PATCH] Update basic-authentication.md fix typo, improve wording/formatting --- docs/3.0/guides/basic-authentication.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/3.0/guides/basic-authentication.md b/docs/3.0/guides/basic-authentication.md index 4cc89ac2..1ee944a4 100644 --- a/docs/3.0/guides/basic-authentication.md +++ b/docs/3.0/guides/basic-authentication.md @@ -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" @@ -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