By default controller always calls index method. If you want to call a different method, then write it in the controller?s file and specify its name while calling the function.
Codeigniter Methods 1
Look at the URL. There is no method name is mentioned. Hence, by default index method is loaded.