Add trail_id parameter to trailsegments controller.