From 03335d014ceb42d8db670606e3960b5fd84cb7c3 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sat, 28 Apr 2012 09:10:46 +0000 Subject: 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 --- extra/sample_plugin/app/views/example/say_goodbye.html.erb | 2 +- extra/sample_plugin/app/views/example/say_hello.html.erb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'extra') 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 @@

<%= l(:text_say_goodbye) %>

<% 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 %> -- cgit v1.2.3