Method: Ezframe::PageBase#show_base_template
- Defined in:
- lib/ezframe/page_base.rb
#show_base_template(opts = {}) ⇒ Object
66 67 68 69 70 71 72 73 74 |
# File 'lib/ezframe/page_base.rb', line 66 def show_base_template(opts = {}) args = { title: opts[:title], body: opts[:body], into_html_header: Materialize.into_html_header, into_bottom_of_body: Materialize.into_bottom_of_body, } Template.fill_from_file("template/base.html", args) end |