W3cubDocs

/Padrino

Module: Padrino::Generators::Admin::Actions

Overview

Important tasks for setting up or configuring the admin application.

Instance Method Summary

Instance Method Details

#add_project_module(controller) ⇒ Object

Add access_control permission in our app.rb.

#ext ⇒ Object

Tell us which rendering engine you are using.

#fetch_app_name(app = 'app') ⇒ String

Returns the app_name for the application at root.

Examples:

fetch_app_name('subapp')

#orm ⇒ Object Also known as: adapter

Tell us which orm we are using.

#remove_project_module(controller) ⇒ Object

Remove from access_control permissions.

#supported_ext ⇒ Object

Tell us for now which rendering engine we support.

#supported_orm ⇒ Object

Tell us for now which orm we support