Forgot an end in assignment controller