Sha256: 9f08c17617c1709b43e61184b63bad2f2a0c42d04725d34f307a4d480793ad95

Contents?: true

Size: 287 Bytes

Versions: 6

Compression:

Stored size: 287 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

6 entries across 6 versions & 1 rubygems

Version Path
concen-0.1.7 config/initializers/prepend_routing_paths.rb
concen-0.1.6 config/initializers/prepend_routing_paths.rb
concen-0.1.5 config/initializers/prepend_routing_paths.rb
concen-0.1.4 config/initializers/prepend_routing_paths.rb
concen-0.1.3 config/initializers/prepend_routing_paths.rb
concen-0.1.2 config/initializers/prepend_routing_paths.rb