Sha256: e5c1e9910cb236966285ab469730cec882c7e26e597321aa91047f477f2d2898

Contents?: true

Size: 451 Bytes

Versions: 2

Compression:

Stored size: 451 Bytes

Contents

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
trestle-auth-0.2.1 lib/trestle/auth/engine.rb
trestle-auth-0.2.0 lib/trestle/auth/engine.rb