diff options
| author | HumairAK <humair88@hotmail.com> | 2016-07-21 08:58:24 +0000 |
|---|---|---|
| committer | HumairAK <humair88@hotmail.com> | 2016-07-21 08:58:24 +0000 |
| commit | 68be8844ddc1e30e34745a0589fa3395ae6ec198 (patch) | |
| tree | 68be4cdd15c3cde8885073391773e4f559f5f9f5 /views/exams.hbs | |
| parent | 39ef1b6fd37bb9b725676d3a98f13e3450798200 (diff) | |
Added templating for questions, made a minor adjustments to index.js
Diffstat (limited to 'views/exams.hbs')
| -rw-r--r-- | views/exams.hbs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/views/exams.hbs b/views/exams.hbs index 5a5955c..d7697c3 100644 --- a/views/exams.hbs +++ b/views/exams.hbs @@ -2,7 +2,7 @@ <div class = 'search container' id = 'solutions-div'> <h4 class='search-head'>Search results for "{{query}}"</h4> {{# each result}} - <a href="/questions"> + <a href="/questions/{{this.id}}"> <section class = 'solutions-card'> <h3 class = 'solutions-title'>{{this.title}}</h3> <p class = 'solutions-time' ><em>Term: </em>{{this.term}} {{this.year}}</p> |
