Hi. learning from the Agile Rails book

On page 100.

I do the command:
ruby script/generate controller store index

and if i go to /store/ it works

yet if i fiddle around and command:
ruby script/generate controller admin index

and go to /admin/ it doesn’t do as it did with the store directory,
instead listing the products.

why is this so?

Thanks again.

Dominic