Sha256: 9ad113fc0b6e5a8d9e5bbdf273ebd549b2ddc62ca58d438c35d2c6061eea5234

Contents?: true

Size: 614 Bytes

Versions: 11

Compression:

Stored size: 614 Bytes

Contents

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

  ::Rails.configuration.to_prepare do
    ::ApplicationController.helper ::BrighterPlanetHelper
    ::ApplicationController.helper ::TronprintHelper
    # 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

11 entries across 11 versions & 1 rubygems

Version Path
brighter_planet_layout-0.5.5 lib/brighter_planet_layout/rails.rb
brighter_planet_layout-0.5.4 lib/brighter_planet_layout/rails.rb
brighter_planet_layout-0.5.3 lib/brighter_planet_layout/rails.rb
brighter_planet_layout-0.5.2 lib/brighter_planet_layout/rails.rb
brighter_planet_layout-0.5.1 lib/brighter_planet_layout/rails.rb
brighter_planet_layout-0.4.5 lib/brighter_planet_layout/rails.rb
brighter_planet_layout-0.4.4 lib/brighter_planet_layout/rails.rb
brighter_planet_layout-0.4.3 lib/brighter_planet_layout/rails.rb
brighter_planet_layout-0.4.2 lib/brighter_planet_layout/rails.rb
brighter_planet_layout-0.4.1 lib/brighter_planet_layout/rails.rb
brighter_planet_layout-0.4.0 lib/brighter_planet_layout/rails.rb