Require user authentication by default

This commit is contained in:
Manuel Bustillo 2024-11-30 11:03:29 +01:00
parent 13bdaf0bd2
commit ed7207d707

View File

@ -1,6 +1,7 @@
# Copyright (C) 2024 Manuel Bustillo
class ApplicationController < ActionController::Base
before_action :authenticate_user!
after_action :set_csrf_cookie
skip_before_action :verify_authenticity_token, if: :development_swagger?