Use devise method for requiring login

This commit is contained in:
Râu Cao
2023-05-29 23:09:48 +02:00
parent 19bafe081f
commit f829bb3379
6 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
class DashboardController < ApplicationController
before_action :require_user_signed_in
before_action :authenticate_user!
def index
@current_section = :services