Sha256: e95167d7310db03aa1f933e997a67653cff963dfab0bfaf47a7f92b983d9d542
Contents?: true
Size: 490 Bytes
Versions: 5
Compression:
Stored size: 490 Bytes
Contents
require 'hocus_pocus/command_line/engine' module HocusPocus module CommandLine class Railtie < ::Rails::Railtie #:nodoc: initializer 'hocus_pocus.command_line' do |app| ActiveSupport.on_load(:after_initialize) do if HocusPocus.config.enable_command_line Rails.application.routes.append do mount HocusPocus::CommandLine::Engine, :at => '/hocus_pocus/command_line' end end end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems