Sha256: 12f55a311cdb36ab5033ffd31156ab2d7ccb032fa80e52737438d4319df9a9d1

Contents?: true

Size: 249 Bytes

Versions: 5

Compression:

Stored size: 249 Bytes

Contents

module Lit
  class ApplicationController < ActionController::Base
    before_filter :authenticate

    private
      def authenticate
        if Lit.authentication_function
          send(Lit.authentication_function)
        end
      end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
lit-0.0.4.2 app/controllers/lit/application_controller.rb
lit-0.0.4.1 app/controllers/lit/application_controller.rb
lit-0.0.4 app/controllers/lit/application_controller.rb
lit-0.0.3.1 app/controllers/lit/application_controller.rb
lit-0.0.3 app/controllers/lit/application_controller.rb