Sha256: 88a1fa92a84c45b621a292bbe122cebfdd7ec8885b2ea9496c872b05019f7b13

Contents?: true

Size: 312 Bytes

Versions: 2

Compression:

Stored size: 312 Bytes

Contents

#require "vain_routes"
#require "rails"

module VainRoutes
	class Engine < Rails::Engine
		initializer "static assets" do |app|
		  app.middleware.use ::ActionDispatch::Static, "#{root}/public"
		  #app.middleware.insert_before(::ActionDispatch::Static, ::ActionDispatch::Static, "#{root}/public")
		end
	end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
vain_routes-1.0.2 lib/vain_routes/engine.rb
vain_routes-1.0.0 lib/vain_routes/engine.rb