Sha256: 75c2031afe3b0aae128df5c1ceb4410fe2d5568b7806c1da69f08b95718af3b8
Contents?: true
Size: 529 Bytes
Versions: 13
Compression:
Stored size: 529 Bytes
Contents
require 'rails' module Djr class Engine < Rails::Engine # Load rake tasks #rake_tasks do # load File.join(File.dirname(__FILE__), 'rails/railties/tasks.rake') #end # Check the gem config #initializer "check config" do |app| # make sure mount_at ends with trailing slash # config.mount_at += '/' unless config.mount_at.last == '/' #end #initializer "static assets" do |app| # app.middleware.use ::ActionDispatch::Static, "#{root}/public" #end end end
Version data entries
13 entries across 13 versions & 1 rubygems