Don't show flash message when opening the root URL while signed out

This commit is contained in:
Râu Cao
2023-06-08 08:04:23 +03:00
parent de45d070aa
commit 8eb5f093a4

View File

@@ -1,5 +1,5 @@
class DashboardController < ApplicationController
before_action :authenticate_user!
before_action :require_user_signed_in
def index
@current_section = :services