Module: Trailblazer::Endpoint::Controller::Rails::DefaultBlocks

Defined in:
lib/trailblazer/endpoint/controller.rb

Overview

The three default handlers for Endpoint::with_or_etc

Class Method Summary collapse

Class Method Details

.extended(extended) ⇒ Object



76
77
78
# File 'lib/trailblazer/endpoint/controller.rb', line 76

def self.extended(extended)
  extended.directive :options_for_block_options, Controller.method(:options_for_block_options)
end