[eluser]SeasonedCoder[/eluser]
I guess I have figured out the problem (may be not the root of it, but at least I know how to fix it). This is really weird to me so far.
The thing is that in my controller I have a method called view(). And whenever I open a page that should map to index(), it gets redirected to this method as well.
Now, if I rename view() to, say, view1() it works perfectly.
Do you have a reasonable explanation for this?