Class: Mailboxer::ViewsGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/generators/mailboxer/views_generator.rb

Instance Method Summary collapse

Instance Method Details

#copy_viewsObject



5
6
7
8
# File 'lib/generators/mailboxer/views_generator.rb', line 5

def copy_views
  directory('message_mailer', 'app/views/message_mailer')
  directory('notification_mailer', 'app/views/notification_mailer')
end