Sha256: 7214e011dccba51fb256a1fe46957a3b44c9b38911eb635a3a193daac44085c3

Contents?: true

Size: 336 Bytes

Versions: 3

Compression:

Stored size: 336 Bytes

Contents

class Mailboxer::ViewsGenerator < Rails::Generators::Base
  source_root File.expand_path("../../../../app/views/mailboxer", __FILE__)

  desc "Copy Mailboxer views into your app"
  def copy_views
    directory('message_mailer', 'app/views/message_mailer')
    directory('notification_mailer', 'app/views/notification_mailer')
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
mailboxer-0.12.4 lib/generators/mailboxer/views_generator.rb
mailboxer-0.12.3 lib/generators/mailboxer/views_generator.rb
mailboxer-0.12.2 lib/generators/mailboxer/views_generator.rb