• J
    Only accept literals as before_filter method names · f829a8f6
    Justin Collins 提交于
    whitelist, not blacklist!
    
    This fixes an issue where things like local variables
    were being interpreted as method names.
    
    Example:
    
    before_filter :blah, filter_options
    
    "filter_options" was being treated as if it were a method name,
    which was wrong.
    f829a8f6
controller_alias_processor.rb 8.3 KB