How to set simple Material on a simple Spline Mesh?

Simple solution is to make the material world aligned