Sha256: caade49f4c4b23d9691672d24f7b4835f5f7bca960143d50e8034d96f0abeb82

Contents?: true

Size: 501 Bytes

Versions: 1

Compression:

Stored size: 501 Bytes

Contents

module Apress
  module Documentation
    class Engine < Rails::Engine
      config.autoload_paths += [
        config.root.join('app', 'controllers', 'concerns'),
        config.root.join('app', 'presenters')
      ]

      config.documentation = {path_scope: nil, routes_constraints: {domain: :current}}

      initializer "apress-documentation", before: :load_init_rb do |app|
        RGL::DirectedAdjacencyGraph.include Apress::Documentation::Extensions::RGL::Adjacency
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
apress-documentation-0.4.0 lib/apress/documentation/engine.rb