Module: Integrity::Helpers::Rendering
- Included in:
- Integrity::Helpers
- Defined in:
- lib/integrity/helpers/rendering.rb
Instance Method Summary collapse
Instance Method Details
#partial(template, locals = {}) ⇒ Object
9 10 11 |
# File 'lib/integrity/helpers/rendering.rb', line 9 def partial(template, locals={}) haml("_#{template}".to_sym, :locals => locals, :layout => false) end |
#show(view, options = {}) ⇒ Object
4 5 6 7 |
# File 'lib/integrity/helpers/rendering.rb', line 4 def show(view, ={}) @title = (*[:title]) haml view end |