Fix .class to .class.to_s
This commit is contained in:
1 parent
f3ccbce5c8
commit
39b63a970c
10 files changed
+18
-18
No files matched your search
@@ -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" %>
|
||||
Reference in new issue
Block a user