Sha256: 085b60879bfb1c8ee2d0d1e402f4f253b601a83361c5eca2101b2fe99103f6dc
Contents?: true
Size: 547 Bytes
Versions: 1
Compression:
Stored size: 547 Bytes
Contents
module ActiveNotifier module Generators # ActiveNotifier generator for Rails application class InstallGenerator < ::Rails::Generators::Base desc "Generates ActiveNotifier configuration files." source_root File.expand_path("../../", __dir__) def copy_initializer template "generators/active_notifier/templates/active_notifier.rb", "config/initializers/active_notifier.rb" end def copy_templates directory "active_notifier/templates", "app/views/active_notifier" end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
active_notifier-0.4.2 | lib/generators/active_notifier/install_generator.rb |