Sha256: fcc8e72b6dd069cd37a5267ff7c974de78a4cfc41387333ea3a9f85c62abb314
Contents?: true
Size: 340 Bytes
Versions: 8
Compression:
Stored size: 340 Bytes
Contents
require "rails" require "savagery/helpers/rails" require "savagery/middleware" module Savagery class Engine < Rails::Engine initializer "savagery.helpers" do |app| ActionController::Base.helper Helpers::Rails end initializer "savagery.middleware" do |app| app.config.middleware.use Middleware end end end
Version data entries
8 entries across 8 versions & 1 rubygems