lib/generators/ahoy/messages_generator.rb in ahoy_email-2.0.0 vs lib/generators/ahoy/messages_generator.rb in ahoy_email-2.0.1
- old
+ new
@@ -1,11 +1,9 @@
require "rails/generators"
module Ahoy
module Generators
class MessagesGenerator < Rails::Generators::Base
- source_root File.join(__dir__, "templates")
-
class_option :unencrypted, type: :boolean
def copy_templates
activerecord = defined?(ActiveRecord)
mongoid = defined?(Mongoid)