lib/jets/cfn/builders/controller_builder.rb in jets-2.2.0 vs lib/jets/cfn/builders/controller_builder.rb in jets-2.2.1

- old
+ new

@@ -22,9 +22,13 @@ add_parameter(resource.logical_id, description: resource.desc) if route.authorizer add_parameter(route.authorizer_id, description: route.authorizer_metadata) end end + + if @app_class.authorizer + add_parameter(@app_class.authorizer_id, description: @app_class.authorizer_metadata) + end end def add_routes scoped_routes.each_with_index do |route, i| method = Jets::Resource::ApiGateway::Method.new(route)