lib/pagelet_rails/concerns/controller.rb in pagelet_rails-0.1.6 vs lib/pagelet_rails/concerns/controller.rb in pagelet_rails-0.1.7

- old
+ new

@@ -37,10 +37,10 @@ def append_pagelet_view_paths # lookup_context.prefixes.clear view = "#{controller_name}/views" if lookup_context.prefixes.exclude?(view) - lookup_context.prefixes.unshift "#{controller_name}/views" + lookup_context.prefixes.unshift view end # https://github.com/rails/actionpack-action_caching/issues/32 if lookup_context.formats.exclude?(:html) lookup_context.formats.unshift :html