Sha256: 598ed4355ec37d2d7c32945c85a8197aa42d275a7d794b7d24c438eb8719422e

Contents?: true

Size: 427 Bytes

Versions: 2

Compression:

Stored size: 427 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::Metal.include Authoreyes::Helpers::InController
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
authoreyes-0.2.2 lib/authoreyes.rb
authoreyes-0.2.1 lib/authoreyes.rb