rubyatscale / packs-rails

packs-rails establishes and implements a set of conventions for splitting up large monoliths.
MIT License
268 stars 26 forks source link

Readme routing example has a zeitwerk bug #69

Closed matt-steen closed 11 months ago

matt-steen commented 11 months ago

According to the Rails Guides on routing, when splitting routes into separate files, only the main routes file should contain Rails.application.routes.draw

If I define, I get zeitwerk errors that packs/my_domain/config/routes/my_domain.rb doesn't defineMyDomain