We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
balderdashy/sails#610
解決Angular在Sails中取得View 設置routes
// config/routes.js '/partials/:folder/:file' : { controller : 'index', action : 'partials_with_folder'},
設置controller
// api/controllers/:indexController.js partials_with_folder: function (req,res) { res.render('partials/'+ req.param('folder') + '/' + req.param('file')) }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
balderdashy/sails#610
解決Angular在Sails中取得View
設置routes
設置controller
The text was updated successfully, but these errors were encountered: