Added @assignments back in submissions_controller

inside show method