class ApplicationController < ActionController::Base include Authentication include ProjectScoping include Pagy::Backend allow_browser versions: :modern before_action :set_current_user helper_method :page_title private def page_title @page_title || Rails.application.config.x.app_name end end