Skip to content

Commit

Permalink
updated routes
Browse files Browse the repository at this point in the history
  • Loading branch information
jonniespratley committed Jan 11, 2015
1 parent cc3ab3e commit f01c230
Show file tree
Hide file tree
Showing 7 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions routes/cms-passport.js
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,8 @@ var cmsPassport = function(config, app) {
* TODO: Handle configuring passport
*
*/
app.use(express.static(path.resolve(config.publicDir)));
app.set('views', path.resolve(config.publicDir));
app.use(express.static(path.resolve(__dirname + path.sep + 'views')));
app.set('views', path.resolve(__dirname + path.sep + 'views'));
app.set('view engine', 'ejs');
app.engine('ejs', require('ejs-locals'));

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit f01c230

Please sign in to comment.