Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
zackyang000 committed Oct 16, 2015
1 parent b3bd054 commit d7969a2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Function.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import express from 'express';

export default class Function {
export default class {
constructor() {
return express.Router();
}
Expand Down
2 changes: 1 addition & 1 deletion src/Resource.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { min } from 'lodash';
import model from './model';
import rest from './rest';

export default class Resource {
export default class {
constructor(name, model) {
this._name = name;
this._url = name;
Expand Down

0 comments on commit d7969a2

Please sign in to comment.