Sha256: 6f63caf9893c77787c8135e13e1b0888191bfb414511b9f0334c5c8e10bff943

Contents?: true

Size: 326 Bytes

Versions: 1

Compression:

Stored size: 326 Bytes

Contents

class Messaging::InstallGenerator < Rails::Generators::Base #:nodoc:

  hook_for :users, :default => "devise", :desc => "User generator to run. Skip with --skip-users"

  def create_migration_file
    generate 'mailboxer:install'
  end

  def add_messaging_routes
    route 'mount Messaging::Engine => "/messaging"'
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
messaging_4-0.0.1 lib/generators/messaging/install/install_generator.rb