Sha256: d3de534742811bd01e5ea832249853f50fb77dced3ba1bd3f5713dc925055571

Contents?: true

Size: 303 Bytes

Versions: 1

Compression:

Stored size: 303 Bytes

Contents

module App::Home::Html
  extend Waxx::Html
  extend self

  def welcome(x)
    App::Html.render(x, title: "Welcome to Waxx", content: %(
      <h1>Waxx</h1>
      <p>
        This is the default home page of your Waxx app. 
        The file is <code>app/home/html.rb</code>
      </p>
    ))
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
waxx-0.2.0 skel/app/home/html.rb