trail controller modified for show, and hardcoded data on show page replaced