Sha256: a1f1a04483636d6f9963bce96c8211371b99c2621bfcfb29fe3df5853891da89
Contents?: true
Size: 776 Bytes
Versions: 1
Compression:
Stored size: 776 Bytes
Contents
module App::About extend Waxx::Object extend self runs( index: { desc: "The about main page.", get: -> (x) { App::Html.page(x, title: "About", content: %( This is the main about page. )) } }, privacy: { desc: "The privacy policy", get: -> (x) { App::Html.page(x, title: "Privacy Policy", content: %( You can pull this content from the file system or the database or just leave it in the code. )) } }, terms: { desc: "The terms of use", get: -> (x) { App::Html.page(x, title: "Terms of Use", content: %( You can pull this content from the file system or the database or just leave it in the code. )) } }, ) end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
waxx-0.2.0 | skel/app/about/about.rb |