Sha256: 4e23464d4f1b0160094f1b0ac4c2405612fb75ad305e4347a981e4f8d5c81a09

Contents?: true

Size: 645 Bytes

Versions: 1

Compression:

Stored size: 645 Bytes

Contents

module Invitation
  # Make invitation available to Rails apps on initialization.
  #
  # Requiring `invitation` (likely by having it in your `Gemfile`) will
  # automatically require the engine.
  #
  # Invitation provides:
  # * routes
  # * controllers
  # * views
  #
  # You can opt-out of Invitation's internal routes by using {Configuration#routes=}. You can
  # subclass controllers, and override the Invitation views by running `rails generate invitation:views`.
  class Engine < ::Rails::Engine
    config.generators do |g|
      g.test_framework :rspec
      g.fixture_replacement :factory_bot, dir: 'spec/factories'
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
invitation-0.6.1 lib/invitation/engine.rb