app/views/skyline/articles/index.html.erb in skylinecms-3.1.0 vs app/views/skyline/articles/index.html.erb in skylinecms-3.2.0

- old
+ new

@@ -1,9 +1,9 @@ <dl id="contentPanel" class="panel"> <dt id="contentHeaderPanel"> <span class="content"> - <%= controller.class_from_type.human_name(:count => 2) %> + <%= controller.class_from_type.model_name.human(:count => 2) %> </span> </dt> <dd id="contentBodyPanel"> <div id="contentInfoPanel"> @@ -19,10 +19,10 @@ <%= render :partial => "skyline/articles/#{controller.class_from_type.name.demodulize.underscore}/list" %> <% rescue ActionView::MissingTemplate %> <%= render :partial => "list" %> <% end %> <% else %> - <em><%= t(:blank, :scope => [:article, :index], :name => controller.class_from_type.human_name(:count => 2).downcase) %></em> + <em><%= t(:blank, :scope => [:article, :index], :name => controller.class_from_type.model_name.human(:count => 2).downcase) %></em> <% end %> </div> </dd> </dl> \ No newline at end of file