abstract class ReorderChildrenAction

Extended Modules

Defined in:

orma/reorder_children_action.cr

Constant Summary

SUBJECT_ID_FIELD_NAME = "subject_id"
TARGET_ID_FIELD_NAME = "target_id"

Instance Method Summary

Instance methods inherited from class Orma::ModelAction

controller controller, model model, model_action_controller model_action_controller, model_id model_id, model_template : IdentifiableView model_template

Class methods inherited from class Orma::ModelAction

action_template(model) action_template, path_matcher : Regex path_matcher, uri_path(model_id) : String uri_path

Macros inherited from class Orma::ModelAction

controller(&blk) controller

Instance methods inherited from class Crumble::Turbo::Action

before_action_halted? before_action_halted?, controller controller, ctx : Crumble::Server::RequestContext ctx, path_match : Regex::MatchData path_match

Constructor methods inherited from class Crumble::Turbo::Action

new(ctx : Crumble::Server::RequestContext, path_match : Regex::MatchData) new

Class methods inherited from class Crumble::Turbo::Action

handle(ctx) : Bool handle, path_matcher : Regex path_matcher, uri_path : String uri_path

Macros inherited from class Crumble::Turbo::Action

before(&blk) before, controller(&blk) controller

Instance Method Detail

abstract def association #

[View source]
def model_action_controller #

[View source]