Class: Spree::Emails::Generators::InstallGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/generators/spree/emails/install/install_generator.rb

Overview

Kept as a no-op so rake test_app and any existing rails g spree:emails:install invocations keep working. Mailer previews now ship inside the gem and are served automatically at /rails/mailers — there is nothing left to copy into the host app.

Instance Method Summary collapse

Instance Method Details

#notify_previews_are_bundledObject



13
14
15
# File 'lib/generators/spree/emails/install/install_generator.rb', line 13

def notify_previews_are_bundled
  say 'Spree email previews are bundled with spree_emails and served automatically at /rails/mailers — nothing to install.'
end