app/views/layouts/pagelet_rails/container.erb in pagelet_rails-0.1.7 vs app/views/layouts/pagelet_rails/container.erb in pagelet_rails-0.1.8
- old
+ new
@@ -1,8 +1,3 @@
-<% if pagelet_request? || pagelet_options.skip_container %>
+<%= content_tag :div, html_container_attributes do %>
<%= content_for?(:content) ? yield(:content) : yield %>
-
-<% else %>
- <%= content_tag :div, html_container_attributes do %>
- <%= content_for?(:content) ? yield(:content) : yield %>
- <% end %>
<% end %>