# File lib/brakeman/rescanner.rb, line 217 def rescan_routes # Routes affect which controller methods are treated as actions # which affects which templates are rendered, so routes, controllers, # and templates rendered from controllers must be rescanned tracker.reset_routes tracker.reset_templates :only_rendered => true process_routes process_controller_data_flows @reindex << :controllers << :templates end