Skip to content

Commit

Permalink
Merge branch 'main' into custom-styling
Browse files Browse the repository at this point in the history
  • Loading branch information
LuigiR0jas committed Sep 19, 2024
2 parents 3d76dda + e549322 commit 1bd0c30
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/controllers/concerns/authentication.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ def authenticate_user
def authenticate_user!
authenticate_user

if !user_signed_in?
unless user_signed_in?
flash[:notice] = I18n.t("authentication.unauthenticated")
redirect_to new_user_session_path
redirect_to Rails.application.routes.url_helpers.new_user_session_path
end
end

Expand Down
2 changes: 1 addition & 1 deletion app/views/layouts/_flash_message.html.erb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<%# locals: (message:) %>

<div class="flex flex-col items-center justify-center fixed bottom-[64px] w-full z-30 px-5">
<div class="flex flex-col items-center justify-center fixed bottom-[64px] pb-safe-area-1 w-full z-30 px-5">
<div data-controller="closable" class="bg-black/70 shadow-simple backdrop-blur-[25px] rounded-lg px-5 py-4 transition-all bottom-0 max-w-screen-sm text-white z-20 sticky">
<%= message %>
</div>
Expand Down

0 comments on commit 1bd0c30

Please sign in to comment.