Module: Padrino::Admin

Defined in:
padrino-admin/lib/padrino-admin.rb,
padrino-admin/lib/padrino-admin/access_control.rb,
padrino-admin/lib/padrino-admin/generators/orm.rb,
padrino-admin/lib/padrino-admin/helpers/view_helpers.rb,
padrino-admin/lib/padrino-admin/helpers/authentication_helpers.rb

Overview

Padrino::Admin is beautiful Ajax Admin, with these features:

Orm Agnostic

Adapters for datamapper, activerecord, mongomapper, couchdb (now only: datamapper and activerecord), ohm

Authentication

Support for Account authentication, Account Permission management

Scaffold

You can simply create a new “admin interface” simply providing a Model

Ajax Uploads

You can upload file, manage them and attach them to any model in a quick and simple way (coming soon)

Defined Under Namespace

Modules: AccessControl, Generators, Helpers Classes: AccessControlError

Class Method Summary collapse

Class Method Details

.registered(app) ⇒ Object Also known as: included



18
19
20
21
# File 'padrino-admin/lib/padrino-admin.rb', line 18

def registered(app)
  # Load Padrino::Admin locales
  I18n.load_path += Dir["#{File.dirname(__FILE__)}/padrino-admin/locale/**/*.yml"]
end