feat: implement flash messages system with auto-dismiss notifications

- Add flash message helper and styles for consistent notifications
- Replace Devise error messages with flash-based notifications
- Add dashboard page with event statistics
- Configure SMTP settings for development and production
- Update authentication controllers to use flash messages
- Add JavaScript controller for auto-dismiss functionality
This commit is contained in:
Kevin BATAILLE
2025-08-26 18:29:56 +02:00
parent 0879b3c924
commit c226adc36c
26 changed files with 607 additions and 68 deletions

View File

@@ -9,9 +9,10 @@ class Authentications::SessionsController < Devise::SessionsController
# end
# POST /resource/sign_in
# def create
# super
# end
def create
super
flash[:notice] = "Connexion réussie !" if resource.persisted?
end
# DELETE /resource/sign_out
# def destroy