Include autenticazione, progetti isolati, mail marketing HTML con SMTP, test A/B e editor WYSIWYG. Co-authored-by: Cursor <cursoragent@cursor.com>
17 lines
319 B
Ruby
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
|