Sha256: 56dfebd4a8e4cd46e3fa47d4bc1e139e0394032f07c5bb7a10f8e870fe3e5b34
Contents?: true
Size: 526 Bytes
Versions: 14
Compression:
Stored size: 526 Bytes
Contents
module BrighterPlanetLayout class Railtie < Rails::Railtie config.app_middleware.use '::ActionDispatch::Static', File.expand_path(File.join(File.dirname(__FILE__), '..', '..', 'public')) initializer 'brighter_planet_layout.add_paths' do |app| app.paths.app.views << File.expand_path(File.join(File.dirname(__FILE__), '..', '..', 'app', 'views')) end config.to_prepare do ApplicationController.helper BrighterPlanetHelper ApplicationController.layout 'brighter_planet' end end end
Version data entries
14 entries across 14 versions & 1 rubygems