Source: show | on GitHub
# File railties/lib/rails/application/routes_reloader.rb, line 12 def initialize @paths = [] @route_sets = [] @external_routes = [] @eager_load = false end
# File railties/lib/rails/application/routes_reloader.rb, line 19 def reload! clear! load_paths finalize! route_sets.each(&:eager_load!) if eager_load ensure revert end