lib/generators/phlex/install/templates/application_layout.rb in phlex-rails-1.1.2 vs lib/generators/phlex/install/templates/application_layout.rb in phlex-rails-1.2.0
- old
+ new
@@ -1,10 +1,10 @@
# frozen_string_literal: true
class ApplicationLayout < ApplicationView
include Phlex::Rails::Layout
- def template(&block)
+ def view_template(&block)
doctype
html do
head do
title { "You're awesome" }