Project

General

Profile

Actions

Defect #5021

closed

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 15 years ago. Updated over 14 years ago.

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

0%

Estimated time:
Resolution:
Duplicate
Affected version:

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

Is duplicate of Redmine - Defect #3935: stylesheet_link_tag with plugin doesn't take into account relative_url_rootClosedEric Davis2009-09-28

Actions
Actions #1

Updated by Jérémie Delaitre over 14 years ago

I have the same problem with both stylesheet_link_tag and javascript_include_tag.

Actions #2

Updated by Jérémie Delaitre over 14 years ago

This duplicates #3935

Actions #3

Updated by Jean-Baptiste Barth over 14 years 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..

Actions

Also available in: Atom PDF