lib/hanami.rb in hanami-2.0.3 vs lib/hanami.rb in hanami-2.1.0.beta1
- old
+ new
@@ -16,10 +16,10 @@
# @api private
# @since 2.0.0
def self.loader
@loader ||= Zeitwerk::Loader.for_gem.tap do |loader|
loader.ignore(
- "#{loader.dirs.first}/hanami/{constants,boot,errors,prepare,rake_tasks,setup}.rb"
+ "#{loader.dirs.first}/hanami/{constants,boot,errors,extensions/router/errors,prepare,rake_tasks,setup}.rb"
)
end
end
# Finds and loads the Hanami app file (`config/app.rb`).