# apps/web/application.rb

# include in your load paths whatever directories
# you want to use for creating your trailblazer
# related classes, this is just an example

load_paths << [
    'controllers',
    'views',
    'operations',
    'policies'
  ]

# include in every action the controller helpers
# so that you have access to `run MyOperation`...
controller.prepare do
  include ::Trailblazer::Operation::Controller
end