Files
eminuxCRM/app/controllers/application_controller.rb
eminuxandCursor c4e5f289cf
CI / scan_ruby (push) Failing after 11m20s
CI / scan_js (push) Successful in 10m35s
CI / lint (push) Has been cancelled
Commit iniziale di eminuxCRM: CRM Rails con pipeline, campagne email e Docker.
Include autenticazione, progetti isolati, mail marketing HTML con SMTP, test A/B e editor WYSIWYG.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-17 23:01:48 +02:00

17 lines
319 B
Ruby

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