Class | Brakeman::ControllerAliasProcessor |
In: |
lib/brakeman/processors/controller_alias_processor.rb
|
Parent: | Brakeman::AliasProcessor |
Processes aliasing in controllers, but includes following renders in routes and putting variables into templates
If only_method is specified, only that method will be processed, other methods will be skipped. This is for rescanning just a single action.
Finds a method in the given class or a parent class
Returns nil if the method could not be found.
If found, returns hash table with controller name and method sexp.
Processes a call to a before filter. Basically, adds any instance variable assignments to the environment. TODO: method arguments?