Skip to content

ezwelcome

Andreas Dausenau edited this page Apr 13, 2022 · 2 revisions

ezwelcome- generator

This generator ejects all files needed to edit the welcome page from the engine to your application.

rails generate ez_on_rails:ezwelcome

The following steps are executed by the generator

1. Copy the controller

  • The controller holding the action to show the welcome page is located in app/controllers/welcome_controller.rb

2. Copy the view

  • The view showing the welcome page is located in app/views/welcome

3. Copy the locales

  • The i18n locale files are located in config/locales/welcome