Project

General

Profile

Actions

Defect #11105

closed

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

Added by Vladimir Pitin almost 12 years ago. Updated almost 12 years ago.

Status:
Closed
Priority:
Normal
Category:
Plugin API
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

Code:

<% content_for :header_tags do %>
  <%= stylesheet_link_tag :issue_hot_buttons_sidebar, :plugin => 'issue_hot_buttons_plugin'  %>
<% end %>

doesn't insert css link in head tag. This code is called from plugin's hook

<%= stylesheet_link_tag :issue_hot_buttons_sidebar, :plugin => 'issue_hot_buttons_plugin' %>
Inserts css link in body of html document.


Related issues

Related to Redmine - Defect #13456: <% content_for :header_tags do %> doesn't work inside hookNeeds feedback

Actions
Related to Redmine - Defect #11527: content_for :header_tag not working within partialsNeeds feedback

Actions
Actions

Also available in: Atom PDF