Skip to content

Commit

Permalink
added success page
Browse files Browse the repository at this point in the history
  • Loading branch information
jteplitz committed Jul 6, 2012
1 parent fb72402 commit 89dee47
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
8 changes: 7 additions & 1 deletion routes/PlaceConfirmedOrder.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,13 @@
return next(500);
}
console.log("Fuck yeah", data);
response.render("Order/success.jade");
var params = {
event_name: req.session.eventName,
event_url: res.session.eventUrl,
header: true,
title: "Success"
};
response.render("Order/success.jade", params);
});
}

Expand Down
6 changes: 5 additions & 1 deletion views/Order/success.jade
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
h1 Awesome. Your food will be at the meetup.
link(rel="stylesheet", href="/stylesheets/success.css")

h2 Awesome. Your food will be at the meetup.

p Thanks for using Meetup and Chow Down.

0 comments on commit 89dee47

Please sign in to comment.