diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index cce9a78..5258263 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -33,7 +33,7 @@ class ApplicationController < ActionController::Base def verified_user! if user_signed_in? unless current_user.verified? - flash[:notice] = "Please verify your email!" + flash[:alert] = "Verify your email!" redirect_to profile_path end end diff --git a/app/views/layouts/_flash.html.erb b/app/views/layouts/_flash.html.erb index c90d1aa..3b27a49 100644 --- a/app/views/layouts/_flash.html.erb +++ b/app/views/layouts/_flash.html.erb @@ -1,6 +1,6 @@ <%= turbo_frame_tag "flash" do %> <% flash.each do |type, message| %> -
"> +
">
<%= icon "check", class: "size-4 stroke-primary-500" %> <%= message %>