Sha256: b79dfad7fdc3e8fd8afd0076a2008f1a2689253595a15641baca28383268e6a6
Contents?: true
Size: 432 Bytes
Versions: 3
Compression:
Stored size: 432 Bytes
Contents
require 'rails/generators/base' module Synchrolog module Generators class InstallGenerator < Rails::Generators::Base source_root File.expand_path("../templates", __FILE__) desc "Creates a Synchrolog initializer." def copy_initializer template "synchrolog.rb", "config/initializers/synchrolog.rb" application "config.middleware.insert 0, Synchrolog::Middleware" end end end end
Version data entries
3 entries across 3 versions & 1 rubygems