module Trestle module Auth class Engine < ::Rails::Engine config.assets.precompile << "trestle/auth.css" << "trestle/auth.js" << "trestle/auth/userbox.scss" initializer "trestle.auth.helpers" do Trestle::Engine.paths["app/helpers"].concat(paths["app/helpers"].existent) end config.to_prepare do Trestle::ApplicationController.send(:include, Trestle::Auth::ControllerMethods) end end end end