Sha256: 59770ee3eb6fea1c5e9c1be7ebb7843855baca0c9142ad3eec528d97362ac232

Contents?: true

Size: 325 Bytes

Versions: 11

Compression:

Stored size: 325 Bytes

Contents

class Mailboxer::ViewsGenerator < Rails::Generators::Base
  source_root File.expand_path("../../../../app/views", __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

11 entries across 11 versions & 2 rubygems

Version Path
mailboxer-0.12.1 lib/generators/mailboxer/views_generator.rb
mailboxer-0.12.0 lib/generators/mailboxer/views_generator.rb
mailboxer-0.12.0.rc2 lib/generators/mailboxer/views_generator.rb
mailboxer-0.12.0.rc1 lib/generators/mailboxer/views_generator.rb
mailboxer-0.11.0 lib/generators/mailboxer/views_generator.rb
mailboxer-0.10.3 lib/generators/mailboxer/views_generator.rb
curationexperts-mailboxer-0.10.3 lib/generators/mailboxer/views_generator.rb
curationexperts-mailboxer-0.10.3.rc1 lib/generators/mailboxer/views_generator.rb
mailboxer-0.10.2 lib/generators/mailboxer/views_generator.rb
mailboxer-0.10.1 lib/generators/mailboxer/views_generator.rb
mailboxer-0.10.0 lib/generators/mailboxer/views_generator.rb