From b760e0e74d8dfb977aff2ae4855759f84d7d5c61 Mon Sep 17 00:00:00 2001 From: Juliet Eyraud <103968576+juliet-e@users.noreply.github.com> Date: Mon, 1 Apr 2024 16:59:05 -0500 Subject: [PATCH] Update sessions_cookies_authorization.md to fix 404 path --- module3/lessons/sessions_cookies_authorization.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module3/lessons/sessions_cookies_authorization.md b/module3/lessons/sessions_cookies_authorization.md index 720e2cb2..94924762 100644 --- a/module3/lessons/sessions_cookies_authorization.md +++ b/module3/lessons/sessions_cookies_authorization.md @@ -468,7 +468,7 @@ class Admin::DashboardController < ApplicationController private def require_admin - render file: "/public/404.html" unless current_admin? + render file: "public/404.html" unless current_admin? end end ```