Sha256: 495ac610eb9e104a2108861addf4dcd231b2e91d7118f5175749ca472b2e98d7

Contents?: true

Size: 280 Bytes

Versions: 4

Compression:

Stored size: 280 Bytes

Contents

require 'mack-facets'

run_once do
  
  require File.join_from_here('lib')
  
  init_message('routes')
  
  # We want local routes to be first
  Mack.search_path_local_first(:config).each do |path|
    f = File.join(path, 'routes.rb')
    require f if File.exists?(f)
  end
  
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
mack-0.8.1 lib/mack/boot/routes.rb
mack-0.8.2 lib/mack/boot/routes.rb
mack-0.8.3.1 lib/mack/boot/routes.rb
mack-0.8.3 lib/mack/boot/routes.rb