Skip to content

Commit

Permalink
title needs to be in quotes
Browse files Browse the repository at this point in the history
Conflicts:

	core/lib/generators/refinery/engine/templates/app/views/refinery/namespace/admin/plural_name/_singular_name.html.erb
  • Loading branch information
jipiboily authored and parndt committed May 14, 2012
1 parent b6d85c7 commit ebf283e
Showing 1 changed file with 1 addition and 1 deletion.
@@ -1,4 +1,4 @@
<% title_attribute = (title = attributes.detect { |a| a.type.to_s == "string" }).present? ? title.name : title -%>
<% title_attribute = (title = attributes.detect { |a| a.type.to_s == "string" }).present? ? title.name : 'title' -%>
<li class='clearfix record <%%= cycle("on", "on-hover") %>' id="<%%= dom_id(<%= singular_name %>) -%>">
<span class='title'>
<%%= <%= singular_name %>.<%= title_attribute %> %>
Expand Down

0 comments on commit ebf283e

Please sign in to comment.