diff options
| author | Raghuram Subramani <raghus2247@gmail.com> | 2025-10-30 13:28:05 -0400 |
|---|---|---|
| committer | Raghuram Subramani <raghus2247@gmail.com> | 2025-10-30 13:28:05 -0400 |
| commit | 91ebb2fa01de3f63a13c0e33a6a00d6523faa009 (patch) | |
| tree | 9dff45e339bde8619145ab4c94b2f958b9db9119 | |
| parent | f6d866b69299df802011a8af1437e2795e347148 (diff) | |
layout: add navbar if authenticated
| -rw-r--r-- | app/views/layouts/application.html.haml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml index cf5936a..f60dcda 100644 --- a/app/views/layouts/application.html.haml +++ b/app/views/layouts/application.html.haml @@ -23,6 +23,13 @@ %body %main.container + - if authenticated? + %nav + %ul + %li + %b + = link_to "Monzieur", root_path + - if flash[:notice].present? %article .grid |
