Sha256: 4d527ef7bb63a37a5332d6c6027d2416dfc3ba6f1b4fec33561aa8ce73f01da2

Contents?: true

Size: 324 Bytes

Versions: 15

Compression:

Stored size: 324 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.0.1.13 app/controllers/tramway/user/application_controller.rb
tramway-user-1.0.1.12 app/controllers/tramway/user/application_controller.rb
tramway-user-1.0.1.11 app/controllers/tramway/user/application_controller.rb
tramway-user-1.0.1.10 app/controllers/tramway/user/application_controller.rb
tramway-user-1.0.1.9 app/controllers/tramway/user/application_controller.rb
tramway-user-1.0.1.8 app/controllers/tramway/user/application_controller.rb
tramway-user-1.0.1.7 app/controllers/tramway/user/application_controller.rb
tramway-user-1.0.1.6 app/controllers/tramway/user/application_controller.rb
tramway-user-1.0.1.5 app/controllers/tramway/user/application_controller.rb
tramway-user-1.0.1.4 app/controllers/tramway/user/application_controller.rb
tramway-user-1.0.1.3 app/controllers/tramway/user/application_controller.rb
tramway-user-1.0.1.2 app/controllers/tramway/user/application_controller.rb
tramway-user-1.0.1.1 app/controllers/tramway/user/application_controller.rb
tramway-user-1.0.1 app/controllers/tramway/user/application_controller.rb
tramway-user-1.0 app/controllers/tramway/user/application_controller.rb