Sha256: 3afd3563a575137518b1756ca1ebe75d1203b4cbcdc5224ff92a60ed2d856bbf
Contents?: true
Size: 309 Bytes
Versions: 1
Compression:
Stored size: 309 Bytes
Contents
require 'bushido' require 'rails' require 'rails/routes' module Bushido class Engine < Rails::Engine initializer "bushido.add_middleware" do |app| #Only include our middleware if its on our platform app.middleware.use Bushido::Middleware unless ENV['BUSHIDO_APP'].nil? end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
bushido-0.0.30 | lib/engine.rb |