lib/pragma/operation/show.rb in pragma-2.0.0 vs lib/pragma/operation/show.rb in pragma-2.1.0

- old
+ new

@@ -5,11 +5,11 @@ # Finds the requested record, authorizes it and decorates it. # # @author Alessandro Desantis class Show < Pragma::Operation::Base step Macro::Classes() - step Macro::Model(:find_by), fail_fast: true - step Macro::Policy(), fail_fast: true + step Macro::Model(:find_by) + step Macro::Policy() step Macro::Decorator() step :respond! def respond!(options) options['result.response'] = Response::Ok.new(entity: options['result.decorator.instance'])