Sha256: b76eb94a4687573cbddbf2e22579253ad953d10eef118eafd2f03359b486be2d

Contents?: true

Size: 392 Bytes

Versions: 3

Compression:

Stored size: 392 Bytes

Contents

require 'strong_permitter/version'
require 'strong_permitter/manager'
require 'strong_permitter/permission/base'

if defined? Rails
  module StrongPermitter
    class Railtie < ::Rails::Railtie
      initializer 'strong-permitter.autoload', :before => :set_autoload_paths do |app|
        app.config.autoload_paths += %W(#{Rails.root}/app/controllers/permissions)
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
strong-permitter-0.0.3 lib/strong-permitter.rb
strong-permitter-0.0.2 lib/strong-permitter.rb
strong-permitter-0.0.1 lib/strong-permitter.rb