Role of the N * (1535) in η ' production