<%
//  ╔╦╗╔═╗╔═╗╔═╗╦ ╦╦ ╔╦╗
//   ║║║╣ ╠╣ ╠═╣║ ║║  ║
//  ═╩╝╚═╝╚  ╩ ╩╚═╝╩═╝╩
//  ┌─     ┬┌─┐┬  ┬┌─┐┌─┐┌─┐┬─┐┬┌─┐┌┬┐    ─┐
//  │───   │├─┤└┐┌┘├─┤└─┐│  ├┬┘│├─┘ │   ───│
//  └─    └┘┴ ┴ └┘ ┴ ┴└─┘└─┘┴└─┴┴   ┴     ─┘
if (lang === 'js') { %>

  /**
   * <%= commentHeading %>
   */
  <%= actionName %>: <%= IS_CURRENT_NODE_VERSION_CAPABLE_OF_AWAIT ? 'async function' : 'function' %> (req, res) {<%
    // Only display this notice in verbose mode
    if (verbose) {
    %>

     // NOTE: This function is in a Sails controller-- that means that not only do `req` and `res`
     // work just like their Express equivalents for HTTP requests, they also automatically listen to
     // and support the same interface for properly structured Socket.io messages.
    <% } %>
    return res.json({
      todo: '<%=actionName%>() is not implemented yet!'
    });
  }
<% }
//  ╔═╗╔═╗╔═╗╔═╗╔═╗╔═╗  ╔═╗╔═╗╦═╗╦╔═╗╔╦╗
//  ║  ║ ║╠╣ ╠╣ ║╣ ║╣   ╚═╗║  ╠╦╝║╠═╝ ║
//  ╚═╝╚═╝╚  ╚  ╚═╝╚═╝  ╚═╝╚═╝╩╚═╩╩   ╩
else if (lang === 'coffee') { %>

  # <%= commentHeading %>

  <%= actionName %>: (req, res) -><%
    // Only display this notice in verbose mode
    if (verbose) {
    %>
     # NOTE: This function is in a Sails controller-- that means that not only do `req` and `res`
     # work just like their Express equivalents for HTTP requests, they also automatically listen to
     # and support the same interface for properly structured Socket.io messages.
    <% } %>
    res.json
      todo: '<%=actionName%>() is not implemented yet!'
<% } %>
