Always set method for routing through index file

As per the comment in index file, the function should be dynamic if not set.
I have removed the isset part so you won't even have to un-comment the function part.