Sha256: 411f8662fefafdeb39332bd061cdee3b951a3d77c2d036a59adce589d27aa9a2
Contents?: true
Size: 462 Bytes
Versions: 13
Compression:
Stored size: 462 Bytes
Contents
module Erector class Railtie < ::Rails::Railtie # config.generators.template_engine :rb # TODO: automatically add app directory to app.config.autoload_paths, # so that Views::Foo::Bar autoloads, and 'require "views/foo/bar.html"' # works. For now, you must add the following to config/application.rb: # # config.autoload_paths += %W(#{config.root}/app) # # (Maybe ::Rails.configuration.autoload_paths will work?) end end
Version data entries
13 entries across 13 versions & 2 rubygems