Good day.
I create a new sails.js project, create new controller (FooController), create model (Foo), in configuration file as view engine setted 'ejs', i create action that show list of Foo, in index.ejs view, add route for this view, but i cannot add details.html for detail view, in routes.js, error 'Ignore attempt to bind route ...', sails.js doesn't understand html file.
'/': {
view: 'home/index'
},
'/foo': {
view: 'foo/index'
},
'/fooDetails': {
view: 'foo/details.html'
}
Please explain how to add html page to application as view? Or it is impossible?
And give some link where i can get some experiense about sails.js and sails.js features.
Thank you.