Skip to content

Commit

Permalink
Life is a tale told by an idiot,ful of sound and fury,Signifying nothing
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewyatesg committed Apr 8, 2018
1 parent 3bdd6cd commit 6564d87
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 22 deletions.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!doctype html>
<!DOCTYPE html>
<html lang="en">

<head>
Expand Down
22 changes: 2 additions & 20 deletions routes/create/thread.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,29 +60,11 @@ module.exports = {
return next(err);
}

res.json({
result: {
name: name,
board: board,
attachment_name: attachment.originalname,
attachment_path: target_path,
content: content,
title: title,
pinned: pinned
}
});
res.redirect('/' + board + '/thread/' + thread._id);
});
});
} else {
res.json({
result: {
name: name,
board: board,
content: content,
title: title,
pinned: pinned
}
});
res.redirect('/' + board + '/thread/' + thread._id);
}
});
});
Expand Down
2 changes: 1 addition & 1 deletion src/components/NewThread.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
</form>
</template>

<style>
<style scoped>
</style>

Expand Down

0 comments on commit 6564d87

Please sign in to comment.