Skip to content

Commit

Permalink
correct the imprint spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
Ulrich Schmidt committed May 26, 2014
1 parent 72c4a23 commit 3467321
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,4 @@ node_modules

mongodb
db
git_status
4 changes: 2 additions & 2 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ var routes = require('./routes/index');
var users = require('./routes/users');
var gadgets = require('./routes/gadgets');
var bookings = require('./routes/bookings');
var impress = require('./routes/impress');
var imprint = require('./routes/imprint');

var app = express();

Expand Down Expand Up @@ -88,7 +88,7 @@ app.use('/', routes);
app.use('/users', users);
app.use('/gadgets', gadgets);
app.use('/bookings', bookings);
app.use('/impress', impress);
app.use('/imprint', imprint);

/// catch 404 and forward to error handler
app.use(function(req, res, next) {
Expand Down
2 changes: 1 addition & 1 deletion routes/impress.js → routes/imprint.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ var express = require('express');
var router = express.Router();

router.get('/', function(req, res) {
res.render('impress', { title: 'ODL: impress'});
res.render('imprint', { title: 'ODL: imprint'});
});


Expand Down
2 changes: 1 addition & 1 deletion views/layout.jade
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ html
block content

#footer
a(href='/impress') impress
a(href='/imprint') imprint
script.
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
Expand Down

0 comments on commit 3467321

Please sign in to comment.