Devise Views
For local development or non-CEAL applications, PMACS Frontend provides a custom set of Devise authentication view templates optimized for Bootstrap 4. These view files can be found in /app/views/devise
, and the layout they use can be found at /app/views/layouts/devise.html.erb
.
With Rails Engines
The devise
gem will still pull in its own default views. PMACS Frontend will override them in the standard case, but if your app is a Rails engine which is mounted into skeleton host applications, you will need to ensure that your dependencies in your .gemspec
are added in the following order:
# my_engine.gemspec s.add_dependency 'devise' s.add_dependency 'pmacs-frontend'