0007-Fix-ActionView-Template-Error-wrong-number-of-argume.patch

Marius BALTEANU, 2021-03-30 18:41

Download (940 Bytes)

View differences:

lib/redmine/views/api_template_handler.rb
20 20
module Redmine
21 21
  module Views
22 22
    class ApiTemplateHandler
23
      def self.call(template)
23
      def self.call(template, source = nil)
24 24
        "Redmine::Views::Builders.for(params[:format], request, response) do |api|; #{template.source}; self.output_buffer = api.output; end"
25 25
      end
26 26
    end
27
-