Skip to content

Commit

Permalink
show new style of extending BaseController
Browse files Browse the repository at this point in the history
  • Loading branch information
ded committed Jan 16, 2012
1 parent 258bf63 commit 3462739
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -64,7 +64,7 @@ Matador looks for view partials in a folder named partials in the views director

``` js
// app/controllers/HomeController.js
module.exports = require('./BaseController').extend()
module.exports = require('matador').BaseController.extend()
.methods({
index: function () {
this.render('index', {
Expand Down

0 comments on commit 3462739

Please sign in to comment.