Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fix identation

  • Loading branch information...
commit 2c741fbd307417e37d66b9d0af75346b6d57daf0 1 parent 164aa23
Anatoliy Chakkaev authored January 24, 2013

Showing 1 changed file with 10 additions and 10 deletions. Show diff stats Hide diff stats

  1. 20  lib/railway_routes.js
20  lib/railway_routes.js
@@ -381,16 +381,16 @@ Map.prototype.resources = function (name, params, actions) {
381 381
 };
382 382
 
383 383
 Map.prototype.resource = function(name, params, actions) {
384  
-  var self = this;
385  
-  // params are optional
386  
-  params = params || {};
387  
-  // if params arg omitted, second arg may be `actions`
388  
-  if (typeof params == 'function') {
389  
-      actions = params;
390  
-      params = {};
391  
-  }
392  
-  params.singleton = true;
393  
-  return this.resources(name, params, actions);
  384
+    var self = this;
  385
+    // params are optional
  386
+    params = params || {};
  387
+    // if params arg omitted, second arg may be `actions`
  388
+    if (typeof params == 'function') {
  389
+        actions = params;
  390
+        params = {};
  391
+    }
  392
+    params.singleton = true;
  393
+    return this.resources(name, params, actions);
394 394
 }
395 395
 
396 396
 /*

0 notes on commit 2c741fb

Please sign in to comment.
Something went wrong with that request. Please try again.