lib/generators/phlex/collection/templates/collection.rb.erb in phlex-0.4.0 vs lib/generators/phlex/collection/templates/collection.rb.erb in phlex-0.5.0
- old
+ new
@@ -1,7 +1,8 @@
<% module_namespacing do -%>
module Views
- class <%= class_name %> < ApplicationView
+ class <%= class_name %> < Phlex::HTML
+ include ApplicationView
include Phlex::Collection
def collection_template(&)
ul(&)
end