Skip to content

Commit

Permalink
misc
Browse files Browse the repository at this point in the history
  • Loading branch information
tj committed Dec 28, 2011
1 parent 274045e commit 8a9fcbe
Showing 1 changed file with 15 additions and 10 deletions.
25 changes: 15 additions & 10 deletions index.js
Expand Up @@ -13,16 +13,21 @@
var express = require('express')
, join = require('path').join
, lingo = require('lingo')
, en = lingo.en
, orderedActions = [
'index' // GET /
,'new' // GET /new
,'create' // POST /
,'show' // GET /:id
,'edit' // GET /edit/:id
,'update' // PUT /:id
,'destroy'// DEL /:id
];
, en = lingo.en;

/**
* Pre-defined action ordering.
*/

var orderedActions = [
'index' // GET /
,'new' // GET /new
,'create' // POST /
,'show' // GET /:id
,'edit' // GET /edit/:id
,'update' // PUT /:id
,'destroy' // DEL /:id
];

/**
* Initialize a new `Resource` with the given `name` and `actions`.
Expand Down

0 comments on commit 8a9fcbe

Please sign in to comment.