myexperiment-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[myexperiment-hackers] [2353] branches/biocat/app/views/contributions/_l


From: noreply
Subject: [myexperiment-hackers] [2353] branches/biocat/app/views/contributions/_list.rhtml: fixed code to generate path name for table partials
Date: Tue, 30 Mar 2010 04:49:11 -0400 (EDT)

Revision
2353
Author
dgc
Date
2010-03-30 04:49:10 -0400 (Tue, 30 Mar 2010)

Log Message

fixed code to generate path name for table partials

Modified Paths

Diff

Modified: branches/biocat/app/views/contributions/_list.rhtml (2352 => 2353)


--- branches/biocat/app/views/contributions/_list.rhtml	2010-03-30 08:44:52 UTC (rev 2352)
+++ branches/biocat/app/views/contributions/_list.rhtml	2010-03-30 08:49:10 UTC (rev 2353)
@@ -10,9 +10,9 @@
 <% end %>
 
 <% if table %>
-	<%= render :partial => "#{klass.pluralize.downcase}/table", :locals => { :collection => contributables } %>
+	<%= render :partial => "#{klass.pluralize.underscore}/table", :locals => { :collection => contributables } %>
 <% else %>
-	<%= render :partial => "#{klass.pluralize.downcase}/#{klass.downcase}", :collection => contributables, :spacer_template => "contributions/list_spacer" %>
+	<%= render :partial => "#{klass.pluralize.underscore}/#{klass.downcase}", :collection => contributables, :spacer_template => "contributions/list_spacer" %>
 <% end %>
 
-<% end %>
\ No newline at end of file
+<% end %>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]