From b513b42e32f1fe379c951f8b23aaca15970e14bc Mon Sep 17 00:00:00 2001
From: Jules Laplace <julescarbon@gmail.com>
Date: Fri, 5 Jan 2018 09:10:44 +0100
Subject: trailing slash

---
 client/components/Paintings.jsx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'client/components/Paintings.jsx')

diff --git a/client/components/Paintings.jsx b/client/components/Paintings.jsx
index dc0f257..d5c94b1 100644
--- a/client/components/Paintings.jsx
+++ b/client/components/Paintings.jsx
@@ -12,7 +12,7 @@ export default class Paintings extends Component {
       return (
         <div class='cell' key={i} style={painting.style}>
           <div class='painting'>
-            <Link to={'/paintings/' + painting.id}>
+            <Link to={'/paintings/' + painting.id + '/'}>
               <div class='image' style={'background-image: url(' + painting.image.uri + ')'} />
             </Link>
           </div>
@@ -23,7 +23,7 @@ export default class Paintings extends Component {
               <div>{painting.date}</div>
               <div>{painting.image.caption}</div>
               <br/>
-              <Link to={'/paintings/' + painting.id}>
+              <Link to={'/paintings/' + painting.id + '/'}>
                 More info &gt;
               </Link>
             </div>
-- 
cgit v1.2.3-70-g09d2

