Fix .class to .class.to_s

This commit is contained in:
Christophe Vilayphiou committed 2012-07-30 18:34:54 +08:00
1 parent f3ccbce5c8
commit 39b63a970c
10 files changed
+18 -18

No files matched your search

+1 -1
View File
@@ -2,4 +2,4 @@
<%= render 'admin/items/site_map_left_bar' %>
<% end -%>
<%= render "admin/#{@item.class.downcase.pluralize}/show" %>
<%= render "admin/#{@item.class.to_s.downcase.pluralize}/show" %>