summaryrefslogtreecommitdiffstats
path: root/extra
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-04-28 09:10:46 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-04-28 09:10:46 +0000
commit03335d014ceb42d8db670606e3960b5fd84cb7c3 (patch)
tree0ce368dfb2f336ada99dac6db73b8f17c73c875b /extra
parentf12942ff400878a407c3523e295fe0dbc65760b0 (diff)
downloadredmine-03335d014ceb42d8db670606e3960b5fd84cb7c3.tar.gz
redmine-03335d014ceb42d8db670606e3960b5fd84cb7c3.zip
Restores support for :plugin support to stylesheet_link_tag and javascript_include_tag helpers.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9558 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'extra')
-rw-r--r--extra/sample_plugin/app/views/example/say_goodbye.html.erb2
-rw-r--r--extra/sample_plugin/app/views/example/say_hello.html.erb2
2 files changed, 2 insertions, 2 deletions
diff --git a/extra/sample_plugin/app/views/example/say_goodbye.html.erb b/extra/sample_plugin/app/views/example/say_goodbye.html.erb
index 978fbd9b2..3307e8770 100644
--- a/extra/sample_plugin/app/views/example/say_goodbye.html.erb
+++ b/extra/sample_plugin/app/views/example/say_goodbye.html.erb
@@ -3,5 +3,5 @@
<p class="icon icon-example-works"><%= l(:text_say_goodbye) %></p>
<% content_for :header_tags do %>
- <%= stylesheet_link_tag "/plugin_assets/sample_plugin/stylesheets/example.css", :media => "screen" %>
+ <%= stylesheet_link_tag 'example', :plugin => 'sample_plugin', :media => "screen" %>
<% end %>
diff --git a/extra/sample_plugin/app/views/example/say_hello.html.erb b/extra/sample_plugin/app/views/example/say_hello.html.erb
index 9bfa8cc4f..505bd2f70 100644
--- a/extra/sample_plugin/app/views/example/say_hello.html.erb
+++ b/extra/sample_plugin/app/views/example/say_hello.html.erb
@@ -11,5 +11,5 @@
<% end %>
<% content_for :header_tags do %>
- <%= stylesheet_link_tag "/plugin_assets/sample_plugin/stylesheets/example.css", :media => "screen" %>
+ <%= stylesheet_link_tag 'example', :plugin => 'sample_plugin', :media => "screen" %>
<% end %>