Sha256: 1db878bd0ae45e23440bcafe736b45eb4ff8f4bf3b6739c488f7693920b84c7f

Contents?: true

Size: 156 Bytes

Versions: 16

Compression:

Stored size: 156 Bytes

Contents

module BrighterPlanetHelper
  def render_or_nothing(*args)
    begin
      render(*args)
    rescue ActionView::MissingTemplate
      nil
    end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
brighter_planet_layout-0.2.1 app/helpers/brighter_planet_helper.rb
brighter_planet_layout-0.2.0 app/helpers/brighter_planet_helper.rb
brighter_planet_layout-0.1.16 app/helpers/brighter_planet_helper.rb
brighter_planet_layout-0.1.15 app/helpers/brighter_planet_helper.rb
brighter_planet_layout-0.1.14 app/helpers/brighter_planet_helper.rb
brighter_planet_layout-0.1.13 app/helpers/brighter_planet_helper.rb
brighter_planet_layout-0.1.12 app/helpers/brighter_planet_helper.rb
brighter_planet_layout-0.1.11 app/helpers/brighter_planet_helper.rb
brighter_planet_layout-0.1.10 app/helpers/brighter_planet_helper.rb
brighter_planet_layout-0.1.9 app/helpers/brighter_planet_helper.rb
brighter_planet_layout-0.1.8 app/helpers/brighter_planet_helper.rb
brighter_planet_layout-0.1.7 app/helpers/brighter_planet_helper.rb
brighter_planet_layout-0.1.4 app/helpers/brighter_planet_helper.rb
brighter_planet_layout-0.1.3 app/helpers/brighter_planet_helper.rb
brighter_planet_layout-0.1.2 app/helpers/brighter_planet_helper.rb
brighter_planet_layout-0.1.1 app/helpers/brighter_planet_helper.rb