Module: Renalware::RenderHelper
- Defined in:
- app/helpers/renalware/render_helper.rb
Instance Method Summary collapse
Instance Method Details
#render_if_exists(path_to_partial, **args) ⇒ Object
5 6 7 8 9 |
# File 'app/helpers/renalware/render_helper.rb', line 5 def render_if_exists(path_to_partial, **args) render(path_to_partial, args) rescue ActionView::MissingTemplate nil end |