Sha256: 9b4d1191b137a9d1953649b67d4064ffee434a62c65742f5535e7132eef95b65

Contents?: true

Size: 594 Bytes

Versions: 2

Compression:

Stored size: 594 Bytes

Contents

# -*- encoding : utf-8 -*-
require 'rademade_admin/routing/mapper'
require 'formtastic'

module RademadeAdmin
  class Engine < ::Rails::Engine
    isolate_namespace RademadeAdmin

    config.assets.paths << "#{config.root}/vendor/assets/javascript/bower_components"

    $LOAD_PATH << "#{config.root}/app/services/"

    paths = %W(
      #{config.root}/app/helpers/**/*.rb
      #{config.root}/app/services/**/*.rb
      #{config.root}/app/inputs/**/*.rb
      #{config.root}/lib/rademade_admin/**/*.rb
    )

    paths.each do |path|
      Dir[path].each {|f| require f }
    end

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rademade_admin-0.0.3 lib/rademade_admin/engine.rb
rademade_admin-0.0.2 lib/rademade_admin/engine.rb