Method: Effective::CrudController::Dsl#after_error

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

#after_error(*names, &blk) ⇒ Object



22
23
24
# File 'app/controllers/concerns/effective/crud_controller/dsl.rb', line 22

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