Sha256: 0061bde4bffc86f8ac53f06719722e0732ddbefc6c28da0ab7806901a01fc6cc

Contents?: true

Size: 442 Bytes

Versions: 5

Compression:

Stored size: 442 Bytes

Contents

if defined? ::Rails and ::Rails::VERSION::MAJOR == 2
  require 'brighter_planet_layout'
  require ::BrighterPlanetLayout.helper_file
  ::Rails.configuration.to_prepare do
    ::ApplicationController.helper ::BrighterPlanetHelper
    ::ApplicationController.layout 'brighter_planet'
    # sabshere 7/29/10 the view path appears to be magically appended
    # ::ApplicationController.append_view_path ::BrighterPlanetLayout.view_path
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
brighter_planet_layout-0.2.19 lib/brighter_planet_layout/rails.rb
brighter_planet_layout-0.2.18 lib/brighter_planet_layout/rails.rb
brighter_planet_layout-0.2.16 lib/brighter_planet_layout/rails.rb
brighter_planet_layout-0.2.15 lib/brighter_planet_layout/rails.rb
brighter_planet_layout-0.2.14 lib/brighter_planet_layout/rails.rb