Sha256: bf251eec55bba9300efb22558435cc4e6cc68825296c2b6f96cd4c0782f2a859

Contents?: true

Size: 247 Bytes

Versions: 1

Compression:

Stored size: 247 Bytes

Contents

<% module_namespacing do -%>
module Views
  class <%= class_name %> < ApplicationView
    def template
      render Layout.new(title: "<%= class_name.gsub("::", " ") %>") do
        h1 { "👋 Hello World!" }
      end
    end
  end
end
<% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
phlex-0.4.0 lib/generators/phlex/page/templates/page.rb.erb