Module: BootstrapAdmin::Actions

Defined in:
lib/bootstrap_admin/actions.rb

Overview

This module defines default controller actions

  • index

  • show

  • create

  • update

  • destroy

These actions are automagically injected on every controller that declares the usage of bootstrap_admin

Defined Under Namespace

Modules: InstanceMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object

includes InstanceMethods on the target class



140
141
142
# File 'lib/bootstrap_admin/actions.rb', line 140

def self.included base
  base.send :include, InstanceMethods
end