module index friendly url

it seems that rules inside default controller of my module doesnt seem to do anything when i call it by:

http://localhost/StyleStore/admin

just when i do:

http://localhost/StyleStore/admin/index

why?

Because the format is:


http://localhost/module/controller/variable/value

You should reach the default method (index) of the default controller (site) of the module by calling:


http://localhost/module

You need to use url rules to make the url shorter. You can also change the default controller and method.