From bde8ab84f27426e425ba2d6a7e733571fcd5242e Mon Sep 17 00:00:00 2001 From: Eric Davis Date: Wed, 15 Sep 2010 22:43:30 +0000 Subject: [PATCH] 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 --- app/views/issues/_attributes.rhtml | 2 +- app/views/issues/_form.rhtml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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? %> -- 2.39.5