Displaying 1 result from an estimated 1 matches for "delete_contributor_project_path".
2008 Jul 23
0
Link_to_remote object missing
...ibutors">
<% for contributor in @project.contributors %>
<li id="contributor.<%= contributor.id %>">
<% link_to_remote image_tag(''delete.png'', :size =>
''16x16'', :alt => ''Destroy''),
delete_contributor_project_path(@project),
:method => :put, :contributor_id =>
contributor.id %>
<%= contributor.user.name %>
</li>
<% end %>
</ul>
I get this error:
ActionView::TemplateError (You have a nil object when you didn''t
expect it...