Update posts controller for find_by_param