app/views/detour/shared/_errors.html.erb in detour-0.0.14 vs app/views/detour/shared/_errors.html.erb in detour-0.0.15

- old
+ new

@@ -1,6 +1,6 @@ <div class="panel panel-danger"> - <div class="panel-heading">Whoops! There were some errors saving your <%= model.class.model_name.singular %>:</div> + <div class="panel-heading">Whoops! There were some errors saving your <%= model.class.model_name.demodulize.downcase %>:</div> <div class="panel-body"> <ul> <% model.errors.full_messages.each do |msg| %> <li><%= msg %></li>