Sha256: 3414088e37330da1e22255d3828d9fca6922ec4b9ce6009a84db6906bfbe6c0c
Contents?: true
Size: 535 Bytes
Versions: 2
Compression:
Stored size: 535 Bytes
Contents
require "whodat/engine" module Whodat class Engine < ::Rails::Engine isolate_namespace Whodat initializer "whodat.load_helpers" do ActiveSupport.on_load(:action_controller) do helper Whodat::Engine.helpers end end initializer :assets do |config| Rails.application.config.assets.paths << root.join("app", "assets", "images", "whodat") end initializer "whodat.assets.precompile" do |app| app.config.assets.precompile += %w( application_controller.rb ) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
whodat-1.0.1 | lib/whodat.rb |
whodat-1.0.0 | lib/whodat.rb |