Sha256: cad1093bbbd52f0af5b6997b59ea74a1da9026f5ba17a03dc812fd78f17bbb1a
Contents?: true
Size: 887 Bytes
Versions: 1
Compression:
Stored size: 887 Bytes
Contents
# frozen_string_literal: true require 'spree/core' require 'solidus_starter_frontend' module SolidusStarterFrontend class Engine < Rails::Engine isolate_namespace ::Spree engine_name 'solidus_starter_frontend' # use rspec for tests config.generators do |g| g.test_framework :rspec end config.to_prepare do if defined?(Spree::Auth::Engine) [ Spree::UserConfirmationsController, Spree::UserPasswordsController, Spree::UserRegistrationsController, Spree::UserSessionsController, Spree::UsersController ].each do |auth_controller| auth_controller.include SolidusStarterFrontend::Taxonomies auth_controller.include SolidusStarterFrontend::AuthViews end Spree::StoreController.include SolidusStarterFrontend::AuthViews end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
solidus_starter_frontend-0.1.0 | lib/solidus_starter_frontend/engine.rb |