Sha256: 5e3b91fc6fc669adae94d36c1ed389646e34c16a656aaecb1ebc01239d9ebe2f

Contents?: true

Size: 441 Bytes

Versions: 4

Compression:

Stored size: 441 Bytes

Contents

module Trestle
  module Auth
    class Engine < ::Rails::Engine
      config.assets.precompile << "trestle/auth.css" << "trestle/auth.js" << "trestle/auth/userbox.scss"

      config.before_initialize 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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
trestle-auth-0.2.5 lib/trestle/auth/engine.rb
trestle-auth-0.2.4 lib/trestle/auth/engine.rb
trestle-auth-0.2.3 lib/trestle/auth/engine.rb
trestle-auth-0.2.2 lib/trestle/auth/engine.rb