Sha256: 4b4a53f93e002c1c285229b39cca1af075367cce1cff2785dce7711ce64af8bf
Contents?: true
Size: 565 Bytes
Versions: 1
Compression:
Stored size: 565 Bytes
Contents
require "contentment" require "rails" #require "action_controller" # http://edgeapi.rubyonrails.org/classes/Rails/Engine.html module Contentment class Engine < Rails::Engine # are these not used? engine_name, railtie_name # engine_name "contentment" # # We can add all of the public assets from our engine and make them # # available to use. This allows us to use javascripts, images, stylesheets # # etc. # initializer "static assets" do |app| # app.middleware.use ::ActionDispatch::Static, "#{root}/public" # end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
contentment-0.7.1 | lib/contentment/engine.rb |