lib/generators/bootstrap/themed/templates/new.html.erb in twitter-bootstrap-rails-2.2.6 vs lib/generators/bootstrap/themed/templates/new.html.erb in twitter-bootstrap-rails-2.2.7
- old
+ new
@@ -1,5 +1,5 @@
<%%- model_class = <%= resource_name.classify %> -%>
<div class="page-header">
- <h1><%%=t '.title', :default => [:'helpers.titles.new', 'New %{model}'], :model => model_class.model_name.human %></h1>
+ <h1><%%=t '.title', :default => [:'helpers.titles.new', 'New %{model}'], :model => model_class.model_name.human.titleize %></h1>
</div>
<%%= render :partial => 'form' %>