fix show action in photos controller