abstract class
Orma::CreateChildAction
Extended Modules
- Orma::ModelAction::ClassMethods
Defined in:
orma/create_child_action.crClass Method Summary
Macro Summary
Instance Method Summary
- #add_context_attributes(instance, ctx)
- #assign_param(instance, param_name, param_value)
- #assign_parent_id(child)
- #child_instance(req_body : String)
- #model_action_controller
Instance methods inherited from class Orma::ModelAction
controller
controller,
model
model,
model_action_controller
model_action_controller,
model_template
model_template,
uri_path
uri_path
Constructor methods inherited from class Orma::ModelAction
new(ctx : Crumble::Server::HandlerContext, model)new(request_ctx : Crumble::Server::RequestContext, model) new
Class methods inherited from class Orma::ModelAction
action_name : String
action_name,
matched_handle(ctx, match)
matched_handle,
model_not_found(ctx)
model_not_found,
path_matcher : Regex
path_matcher,
uri_path(model_id) : String
uri_path
Macros inherited from class Orma::ModelAction
controller(&blk)
controller,
view(&blk)
view
Instance methods inherited from class Crumble::Turbo::Action
action_form(**opts)
action_form,
before_action_halted?
before_action_halted?,
controller
controller,
custom_action_trigger(**opts)
custom_action_trigger,
handle
handle,
refresh_template
refresh_template,
uri_path : String
uri_path,
window_title : String | Nil
window_title
Constructor methods inherited from class Crumble::Turbo::Action
new(ctx : Crumble::Server::HandlerContext)new(request_ctx : Crumble::Server::RequestContext) new