lib/generators/bootstrap/themed/templates/show.html.erb in twitter-bootstrap-rails-2.1.0 vs lib/generators/bootstrap/themed/templates/show.html.erb in twitter-bootstrap-rails-2.1.1
- old
+ new
@@ -1,5 +1,5 @@
-<%%- model_class = @<%= resource_name %>.class -%>
+<%%- model_class = <%= resource_name.classify %> -%>
<div class="page-header">
<h1><%%=t '.title', :default => model_class.model_name.human %></h1>
</div>
<dl class="dl-horizontal">