Skip to content

Commit

Permalink
Update sessions_cookies_authorization.md to fix 404 path
Browse files Browse the repository at this point in the history
  • Loading branch information
juliet-e authored Apr 1, 2024
1 parent 40290ae commit b760e0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion module3/lessons/sessions_cookies_authorization.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
Expand Down

0 comments on commit b760e0e

Please sign in to comment.