Sha256: 01cf52f1d3e39f08e2deae328c6e04dbe7581945663148fbf078c44b471ee91e

Contents?: true

Size: 614 Bytes

Versions: 5

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

5 entries across 5 versions & 1 rubygems

Version Path
brighter_planet_layout-0.3.16 lib/brighter_planet_layout/rails.rb
brighter_planet_layout-0.3.15 lib/brighter_planet_layout/rails.rb
brighter_planet_layout-0.3.14 lib/brighter_planet_layout/rails.rb
brighter_planet_layout-0.3.13 lib/brighter_planet_layout/rails.rb
brighter_planet_layout-0.3.12 lib/brighter_planet_layout/rails.rb