Sha256: 17efb127362dbd8c9f3ab3dbc6d0a463c9ed79f33a597e4f9492ec30f37e9d0f
Contents?: true
Size: 437 Bytes
Versions: 2
Compression:
Stored size: 437 Bytes
Contents
# frozen_string_literal: true module Tramway module Auth class ApplicationController < ActionController::Base layout ::Tramway::Auth.layout_path protect_from_forgery with: :exception before_action :application def application if ::Tramway::Core.application @application = Tramway::Core.application&.model_class&.first || Tramway::Core.application end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
tramway-auth-1.1.0.3 | app/controllers/tramway/auth/application_controller.rb |
tramway-auth-1.1.0.2 | app/controllers/tramway/auth/application_controller.rb |