Skip to content

Commit

Permalink
Update page.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
joeldrapper committed Sep 10, 2024
1 parent 576a340 commit 00972f7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion fixtures/page.rb
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# frozen_string_literal: true

module Example
extend Phlex::Kit
class Page < Phlex::HTML
def view_template
render LayoutComponent.new do
LayoutComponent do
h1 { "Hi" }

100.times do
Expand Down

0 comments on commit 00972f7

Please sign in to comment.