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