Permalink
Browse files

Update copyright and usage example

  • Loading branch information...
1 parent b859075 commit b23fbcd07dae589d6076c026fc4e0db7636ac9cc @fadrizul committed Sep 20, 2011
Showing with 6 additions and 1 deletion.
  1. +6 −1 README.md
View
@@ -22,6 +22,11 @@ First we need to declare the extension of your view files. This can be anything
var twigjs = require('twigjs');
app.register('html', twigjs);
+ // View option
+ app.set('view options', {
+ layout : false
+ });
+
// Rendering "/index" view file
app.get('/index', function (req, res) {
res.render('index', {
@@ -97,7 +102,7 @@ If you have nodeunit installed then simply type:
(The MIT License)
-Copyright (c) 2011 Fadrizul Hasani
+Copyright (c) 2011 Fadrizul Hasani, Dusko Jordanovski
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

0 comments on commit b23fbcd

Please sign in to comment.