ApiError: page.failure: NoMethodError : undefined method `redirect_to' for #<Hilv1::ErbContext:0x00007f72e4ef1fd8>