Class | Brakeman::ControllerProcessor |
In: |
lib/brakeman/processors/controller_processor.rb
|
Parent: | Brakeman::BaseProcessor |
Processes controller. Results are put in tracker.controllers
FORMAT_HTML | = | Sexp.new(:call, Sexp.new(:lvar, :format), :html) |
This is to handle before_filter do |controller| … end
We build a new method and process that the same way as usual methods and filters.