RoboCupDev / tournamenter

Tournament Manager
Apache License 2.0
2 stars 1 forks source link

_pathName is not defined #2

Closed mrshu closed 10 years ago

mrshu commented 10 years ago

When I tried to run node app.js and open the website it showed ReferenceError at tournamenter/views/layout.ejs:137

Am I doing something wrong?

ivanseidel commented 10 years ago

Because this is a 'Sails' application, you have to run it with the command sails lift, and go to http://localhost:1337/groups

Did it worked? @mrshu ?

mrshu commented 10 years ago

Ah, yes, that did work.

A side question: why doesn't http://localhost:1337 work? What's the problem with that?

ivanseidel commented 10 years ago

It will work when we route that path to a controller action in config/routes.js

I thini that we can route it to Teams index, what do you think?

mrshu commented 10 years ago

That might make sense but we need to make two things clear:

ivanseidel commented 10 years ago

That's true... Let's open a new issue for discussing that?

mrshu commented 10 years ago

Seems to be fixed now @ivanseidel, right?

Feel free to close it then.