Update autocomplete_controller to be more readable

王权利请求将github/fork/felipeorlando/master合并到master

Created by: felipeorlando

This turn autocomplete controller more readable. It's the only reason for change, but it's unnecessary use 'unless' statement.

合并请求报告