Procházet zdrojové kódy

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
tags/1.1.0
Eric Davis před 13 roky
rodič
revize
bde8ab84f2

+ 1
- 1
app/views/issues/_attributes.rhtml Zobrazit soubor

@@ -40,6 +40,6 @@
</div>

<div style="clear:both;"> </div>
<%= render :partial => 'form_custom_fields' %>
<%= render :partial => 'issues/form_custom_fields' %>

<% end %>

+ 1
- 1
app/views/issues/_form.rhtml Zobrazit soubor

@@ -20,7 +20,7 @@
</div>

<div id="attributes" class="attributes">
<%= render :partial => 'attributes' %>
<%= render :partial => 'issues/attributes' %>
</div>

<% if @issue.new_record? %>

Načítá se…
Zrušit
Uložit