In this question the solution of Euler–Lagrange equation is $y=x$ function.
$L = (y')^3$ so $L''_{y'} = 6y'$ and is positive when $y=x$. But from the answer of Emanuele Paolini follows that it is not enough to $y$ be a minimum.
So what is the general method of checking whether a stationary point is extremum?