Sha256: 9d6ae8516c418e02c348a57991d84be36d7026f9eabe1905d5ff4cbcc679224f

Contents?: true

Size: 426 Bytes

Versions: 1

Compression:

Stored size: 426 Bytes

Contents

require 'rails'
require 'authoreyes/version'
require 'authoreyes/parser'
require 'authoreyes/authorization'
require 'authoreyes/railtie'

module Authoreyes
  class Railtie
    # Require helpers after Rails initialization
    config.after_initialize do
      require 'authoreyes/helpers/in_controller'

      # Include Controller helpers
      ActionController::Base.include Authoreyes::Helpers::InController
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
authoreyes-0.2.0 lib/authoreyes.rb