]> source.dussan.org Git - redmine.git/commitdiff
Use the full path to the partials
authorEric Davis <edavis@littlestreamsoftware.com>
Wed, 15 Sep 2010 22:43:30 +0000 (22:43 +0000)
committerEric Davis <edavis@littlestreamsoftware.com>
Wed, 15 Sep 2010 22:43:30 +0000 (22:43 +0000)
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
app/views/issues/_form.rhtml

index 455eb77b24e405ea0521d6bab5eb31b57b9fecb3..f9f3f94ea594d45cd11c7f757f8987c4506019a7 100644 (file)
@@ -40,6 +40,6 @@
 </div>
 
 <div style="clear:both;"> </div>
-<%= render :partial => 'form_custom_fields' %>
+<%= render :partial => 'issues/form_custom_fields' %>
 
 <% end %>
index 2bee7d36ccddb1557caad3179a913bfe5adcbd7d..0b1a0749994885858f82911af8e0e09e4aa6ad44 100644 (file)
@@ -20,7 +20,7 @@
 </div>
 
 <div id="attributes" class="attributes">
-       <%= render :partial => 'attributes' %>
+       <%= render :partial => 'issues/attributes' %>
 </div>
 
 <% if @issue.new_record? %>