Sha256: c07f3cd1db0176151265bbb4345a7bcd87d4d5345da3879468ce7c98c3628c50

Contents?: true

Size: 326 Bytes

Versions: 15

Compression:

Stored size: 326 Bytes

Contents

module Tramway
  module User
    class ApplicationController < ActionController::Base
      layout ::Tramway::User.layout_path
      protect_from_forgery with: :exception
      before_action :application

      def application
        @application = ::Tramway::Core.application&.model_class&.first
      end
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
tramway-user-1.1.3 app/controllers/tramway/user/application_controller.rb
tramway-user-1.1.2 app/controllers/tramway/user/application_controller.rb
tramway-user-1.1.1 app/controllers/tramway/user/application_controller.rb
tramway-user-1.1 app/controllers/tramway/user/application_controller.rb
tramway-user-1.0.5 app/controllers/tramway/user/application_controller.rb
tramway-user-1.0.4 app/controllers/tramway/user/application_controller.rb
tramway-user-1.0.3.3 app/controllers/tramway/user/application_controller.rb
tramway-user-1.0.3.2 app/controllers/tramway/user/application_controller.rb
tramway-user-1.0.3.1 app/controllers/tramway/user/application_controller.rb
tramway-user-1.0.3 app/controllers/tramway/user/application_controller.rb
tramway-user-1.0.2.3 app/controllers/tramway/user/application_controller.rb
tramway-user-1.0.2.2 app/controllers/tramway/user/application_controller.rb
tramway-user-1.0.2.1 app/controllers/tramway/user/application_controller.rb
tramway-user-1.0.2 app/controllers/tramway/user/application_controller.rb
tramway-user-1.0.1.14 app/controllers/tramway/user/application_controller.rb