Defect #5021

stylesheet_link_tag does not honor Redmine running out of a sub-uri if it is called from a plugin

Added by Robert Chady almost 2 years ago. Updated over 1 year ago.

Status:Closed Start date:2010-03-09
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:-
Target version:-
Affected version: Resolution:Duplicate

Description

If a plugin calls stylesheet_link_tag with the :plugin parameter, the link that gets inserted does not honor the sub-uri the system is running through. I believe this is caused by Engines::RailsExtensions::AssetHelpers#plugin_asset_path. This method returns a path that seems to assume the system is not running under a sub-uri.


Related issues

duplicates Defect #3935: stylesheet_link_tag with plugin doesn't take into account... Closed 2009-09-28

History

Updated by Jérémie Delaitre almost 2 years ago

I have the same problem with both stylesheet_link_tag and javascript_include_tag.

Updated by Jérémie Delaitre almost 2 years ago

This duplicates #3935

Updated by Jean-Baptiste Barth over 1 year ago

  • Status changed from New to Closed
  • Resolution set to Duplicate

I close this one as duplicate, as #3935 is older and comes with a patch..

Also available in: Atom PDF