lib/rid/generators/list/templates/list.js in rid-0.4.0 vs lib/rid/generators/list/templates/list.js in rid-0.4.1
- old
+ new
@@ -1,13 +1,16 @@
function(head, req) {
+ // !code path.js
// !code mustache.js
// !json templates/layout.mustache
// !json templates/<%= pluralized_model_name %>/index.mustache
provides("html", function() {
var view = {
+ path: path(),
title: "Listing <%= pluralized_model_name.humanize %>",
body: {
+ path: path(),
rows: function() {
var rows = [];
var row;
while (row = getRow()) {
rows.push({