title: Undefined Index Array
body: <p>I just learning laravel and got this error</p>
  <p><img src="https://i.stack.imgur.com/znIlc.png" alt="route class" /></p>
  <p>calling array on route class using foreach but i got error (undefined index)
  <img src="https://i.stack.imgur.com/fHE5c.png" alt="calling array on route class using foreach but i got error (undefined index)" /></p>