Method: Effective::CrudController::Dsl#after_commit

Defined in:
app/controllers/concerns/effective/crud_controller/dsl.rb

#after_commit(*names, &blk) ⇒ Object



18
19
20
# File 'app/controllers/concerns/effective/crud_controller/dsl.rb', line 18

def after_commit(*names, &blk)
  _insert_callbacks(names, blk) { |name, options| set_callback(:resource_after_commit, :after, name, options) }
end