Sha256: aafc650d62f66cecaa6f49568514edd11781bfb9c7bbbb8e23528cf5025f1b7c

Contents?: true

Size: 291 Bytes

Versions: 10

Compression:

Stored size: 291 Bytes

Contents

# TODO: Use Rails.application.routes.prepend on Rails 3.1
# and disasble the following code block.
Concen::Engine.paths["config/routes"].to_a.each do |route|
  Rails.application.routes_reloader.paths.unshift(route) if File.exists?(route)
  Rails.application.routes_reloader.paths.uniq!
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
concen-0.2.9 config/initializers/prepend_routing_paths.rb
concen-0.2.8 config/initializers/prepend_routing_paths.rb
concen-0.2.7 config/initializers/prepend_routing_paths.rb
concen-0.2.6 config/initializers/prepend_routing_paths.rb
concen-0.2.5 config/initializers/prepend_routing_paths.rb
concen-0.2.4 config/initializers/prepend_routing_paths.rb
concen-0.2.3 config/initializers/prepend_routing_paths.rb
concen-0.2.2 config/initializers/prepend_routing_paths.rb
concen-0.2.1 config/initializers/prepend_routing_paths.rb
concen-0.2.0 config/initializers/prepend_routing_paths.rb