Skip to content

ezimprint

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

ezimprint - generator

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

rails generate ez_on_rails:ezimprint

The following steps are executed by the generator

1. Copy the controller

  • The controller holding the action to show the imprint is located in app/controllers/imprint_controller.rb

2. Copy the view

  • The view showing the imprint is located in app/views/imprint

3. Copy the locales

  • The i18n locale files are located in config/locales/imprint.en.yml and config/locales/imprint.de.yml