From: Eric Davis Date: Wed, 15 Sep 2010 22:43:30 +0000 (+0000) Subject: Use the full path to the partials X-Git-Tag: 1.1.0~369 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=bde8ab84f27426e425ba2d6a7e733571fcd5242e;p=redmine.git Use the full path to the partials When trying to use the issue form in a plugin, it would try to use the relative path to the partials which were incorrect. Example: would render 'my_plugin_views/attributes' git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4089 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/views/issues/_attributes.rhtml b/app/views/issues/_attributes.rhtml index 455eb77b2..f9f3f94ea 100644 --- a/app/views/issues/_attributes.rhtml +++ b/app/views/issues/_attributes.rhtml @@ -40,6 +40,6 @@
-<%= render :partial => 'form_custom_fields' %> +<%= render :partial => 'issues/form_custom_fields' %> <% end %> diff --git a/app/views/issues/_form.rhtml b/app/views/issues/_form.rhtml index 2bee7d36c..0b1a07499 100644 --- a/app/views/issues/_form.rhtml +++ b/app/views/issues/_form.rhtml @@ -20,7 +20,7 @@
- <%= render :partial => 'attributes' %> + <%= render :partial => 'issues/attributes' %>
<% if @issue.new_record? %>