Actions
Defect #9841
closedActionView::TemplateError (undefined method `project_destroy_confirm_path'
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Administration
Target version:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
Invalid
Affected version:
Description
Tring access to project administration with last SVN version:
Processing AdminController#projects (for 192.168.3.70 at 2011-12-19 10:07:41) [GET] Parameters: {"action"=>"projects", "controller"=>"admin"} Rendering template within layouts/admin Rendering admin/projects ActionView::TemplateError (undefined method `project_destroy_confirm_path' for #<ActionView::Base:0xde15ea8>) on line #37 of app/views/admin/projects.html.erb: 34: <%= link_to(l(:button_archive), { :controller => 'projects', :action => 'archive', :id => project, :status => params[:status] }, :confirm => l(:text_are_you_sure), :method => :post, :class => 'icon icon-lock') if project.active? %> 35: <%= link_to(l(:button_unarchive), { :controller => 'projects', :action => 'unarchive', :id => project, :status => params[:status] }, :method => :post, :class => 'icon icon-unlock') if !project.active? && (project.parent.nil? || project.parent.active?) %> 36: <%= link_to(l(:button_copy), { :controller => 'projects', :action => 'copy', :id => project }, :class => 'icon icon-copy') %> 37: <%= link_to(l(:button_delete), project_destroy_confirm_path(project), :class => 'icon icon-del') %> 38: </td> 39: </tr> 40: <% end %> app/views/admin/projects.html.erb:37 app/models/project.rb:669:in `project_tree' app/models/project.rb:665:in `each' app/models/project.rb:665:in `project_tree' app/helpers/application_helper.rb:267:in `project_tree' app/views/admin/projects.html.erb:28
Actions