lib/generators/bootstrap/themed/templates/edit.html.haml in twitter-bootstrap-rails-2.2.3 vs lib/generators/bootstrap/themed/templates/edit.html.haml in twitter-bootstrap-rails-2.2.4
- old
+ new
@@ -1,4 +1,4 @@
- model_class = <%= resource_name.classify %>
.page-header
- %h1=t '.title', :default => t('helpers.titles.edit', :model => model_class.model_name.human, :default => "Edit #{model_class.model_name.human}")
+ %h1=t '.title', :default => [:'helpers.titles.edit', 'Edit %{model}'], :model => model_class.model_name.human
= render :partial => "form"