diff options
author | Eric Davis <edavis@littlestreamsoftware.com> | 2010-09-15 22:43:30 +0000 |
---|---|---|
committer | Eric Davis <edavis@littlestreamsoftware.com> | 2010-09-15 22:43:30 +0000 |
commit | bde8ab84f27426e425ba2d6a7e733571fcd5242e (patch) | |
tree | 1da32f819d8ef1cfba09bb02ed0577718dea71c1 | |
parent | be6e0927f3ce95e751bd3c6f4a61de6979898012 (diff) | |
download | redmine-bde8ab84f27426e425ba2d6a7e733571fcd5242e.tar.gz redmine-bde8ab84f27426e425ba2d6a7e733571fcd5242e.zip |
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
-rw-r--r-- | app/views/issues/_attributes.rhtml | 2 | ||||
-rw-r--r-- | 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 @@ </div> <div style="clear:both;"> </div> -<%= 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 @@ </div> <div id="attributes" class="attributes"> - <%= render :partial => 'attributes' %> + <%= render :partial => 'issues/attributes' %> </div> <% if @issue.new_record? %> |