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"

Class Method Summary

Instance Method Summary

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

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

handle(ctx) : Bool handle, match_request(ctx) : Regex::MatchData | Nil match_request, matched_handle(ctx, path_match) matched_handle, path_matcher : Regex path_matcher, uri_path : String uri_path

Macros inherited from class Crumble::Turbo::Action

before(&blk) before, controller(&blk) controller, form(&blk) form, view(&blk) view

Class Method Detail

def self.action_name : String #

[View source]

Instance Method Detail

def model_action_controller #

[View source]