changed beacon to beacon_id in posts/index