Sha256: 54885379a0496467c8cff139990ec7fd86856ce87a4d1ea464f721c174cd1561

Contents?: true

Size: 516 Bytes

Versions: 1

Compression:

Stored size: 516 Bytes

Contents

if defined? ::Rails and ::Rails::VERSION::MAJOR == 2
  require 'brighter_planet_layout'
  require ::BrighterPlanet.layout.helper_file

  ::Rails.configuration.to_prepare do
    ::ApplicationController.helper ::BrighterPlanetHelper
    # sabshere 7/29/10 this makes it impossible to apply selectively
    # ::ApplicationController.layout 'brighter_planet'
    # sabshere 7/29/10 the view path appears to be magically appended
    # ::ApplicationController.append_view_path ::BrighterPlanet.layout.view_path
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
brighter_planet_layout-0.5.6 lib/brighter_planet_layout/rails.rb