Class: Invitation::Engine

Inherits:
Rails::Engine
  • Object
show all
Defined in:
lib/invitation/engine.rb

Overview

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`.