Class | Brakeman::Rails2RoutesProcessor |
In: |
lib/brakeman/processors/lib/rails2_route_processor.rb
|
Parent: | Brakeman::BasicProcessor |
Processes the Sexp from routes.rb. Stores results in tracker.routes.
Note that it is only interested in determining what methods on which controllers are used as routes, not the generated URLs for routes.
current_controller | [R] | |
map | [R] | |
nested | [R] |
Call this with parsed route file information.
This method first calls RouteAliasProcessor#process_safely on the exp, so it does not modify the exp.