Defect #13456

<% content_for :header_tags do %> doesn't work inside hook

Added by Samuel R. about 6 years ago. Updated almost 5 years ago.

Status:Needs feedbackStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Plugin API
Target version:-
Resolution: Affected version:2.2.3

Description

See #11105 for more details


Related issues

Related to Redmine - Defect #11105: <% content_for :header_tags do %> doesn't work inside hook Closed

History

#1 Updated by Jean-Philippe Lang about 6 years ago

  • Status changed from New to Needs feedback

#11105 was fixed, so do you mean that this problem still happens?

#2 Updated by Samuel R. about 6 years ago

Jean-Philippe Lang wrote:

#11105 was fixed, so do you mean that this problem still happens?

yes! is happening in 2.2.3

#3 Updated by Jongwook Choi about 6 years ago

I have also experienced this too. In my case, I was using 'render_to_string' method rather than 'render_on'.
#11105 seems to be covering the case of 'render_on' only (this is just my guess; I didn't make a detailed inspection.)

#4 Updated by Toshi MARUYAMA about 6 years ago

  • Category changed from UI to Plugin API

#5 Updated by Tobias Fischer almost 5 years ago

I can confirm this issue, too!
Still happening in 2.5.1

Also available in: Atom PDF