Sha256: b74d4953e40399bc4f997919010750b56c1008805107a725260e9bc43709f3e5

Contents?: true

Size: 192 Bytes

Versions: 35

Compression:

Stored size: 192 Bytes

Contents

module Renalware
  module RenderHelper
    def render_if_exists(path_to_partial, **args)
      render(path_to_partial, args)
    rescue ActionView::MissingTemplate
      nil
    end
  end
end

Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
renalware-core-2.0.0.pre.rc7 app/helpers/renalware/render_helper.rb
renalware-core-2.0.0.pre.rc6 app/helpers/renalware/render_helper.rb
renalware-core-2.0.0.pre.rc5 app/helpers/renalware/render_helper.rb
renalware-core-2.0.0.pre.rc4 app/helpers/renalware/render_helper.rb
renalware-core-2.0.0.pre.rc3 app/helpers/renalware/render_helper.rb
renalware-core-2.0.0.pre.rc1 app/helpers/renalware/render_helper.rb
renalware-core-2.0.0.pre.beta12 app/helpers/renalware/render_helper.rb
renalware-core-2.0.0.pre.beta11 app/helpers/renalware/render_helper.rb
renalware-core-2.0.0.pre.beta10 app/helpers/renalware/render_helper.rb
renalware-core-2.0.0.pre.beta9 app/helpers/renalware/render_helper.rb
renalware-core-2.0.0.pre.beta8 app/helpers/renalware/render_helper.rb
renalware-core-2.0.0.pre.beta7 app/helpers/renalware/render_helper.rb
renalware-core-2.0.0.pre.beta6 app/helpers/renalware/render_helper.rb
renalware-core-2.0.0.pre.beta5 app/helpers/renalware/render_helper.rb
renalware-core-2.0.0.pre.beta4 app/helpers/renalware/render_helper.rb