Module: Hyper::Utils
Instance Method Summary collapse
Instance Method Details
#layout_path ⇒ Object
5 6 7 |
# File 'lib/hyper/utils.rb', line 5 def layout_path File.join(Hyper.template_root, 'layout.html.erb') end |
#view_path(url) ⇒ Object
9 10 11 |
# File 'lib/hyper/utils.rb', line 9 def view_path(url) File.join(Hyper.template_root, 'views', normalize_url(url) + '.html.erb') end |