Sha256: f59504cd49b7013a97e975aab276e572c99917ddf20e5a881f77ef4debb15a56

Contents?: true

Size: 529 Bytes

Versions: 3

Compression:

Stored size: 529 Bytes

Contents

require 'padrino-core'

Dir[File.dirname(__FILE__) + '/padrino-admin/*.rb'].each {|file| require file }
Dir[File.dirname(__FILE__) + '/padrino-admin/{access_control,adapters,ext_js,generators,utils}/*.rb'].each {|file| require file }

Padrino::Application.send(:cattr_accessor, :access_control)
Padrino::Application.send(:access_control=, Class.new(Padrino::AccessControl::Base))
String.send(:include, Padrino::Admin::Utils::Crypt)

# Load our locales
I18n.load_path += Dir["#{File.dirname(__FILE__)}/padrino-admin/locale/*.yml"]

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
padrino-admin-0.5.0 lib/padrino-admin.rb
padrino-admin-0.4.6 lib/padrino-admin.rb
padrino-admin-0.4.5 lib/padrino-admin.rb