From a620dba6439fada38eebaf55afdc411b73b7e1fe Mon Sep 17 00:00:00 2001
From: Matthieu Fesselier <matthieu.fesselier@gmail.com>
Date: Tue, 10 Nov 2020 09:13:26 +0100
Subject: [PATCH] update: add bind-user reference in solid-router

---
 source/import_documentation/Components/Solid-Auth.rst   | 1 +
 source/import_documentation/Components/Solid-Router.rst | 5 +++++
 2 files changed, 6 insertions(+)

diff --git a/source/import_documentation/Components/Solid-Auth.rst b/source/import_documentation/Components/Solid-Auth.rst
index b42516b..9126145 100644
--- a/source/import_documentation/Components/Solid-Auth.rst
+++ b/source/import_documentation/Components/Solid-Auth.rst
@@ -52,6 +52,7 @@ Here is an example to make you understand the logic:
             });
         </script>
 
+.. _bind-user:
 bind-user
 ----------
     To associate the currently logged in user to a component, add the bind-user attribute to it.
diff --git a/source/import_documentation/Components/Solid-Router.rst b/source/import_documentation/Components/Solid-Router.rst
index 126654b..72a9669 100644
--- a/source/import_documentation/Components/Solid-Router.rst
+++ b/source/import_documentation/Components/Solid-Router.rst
@@ -134,6 +134,11 @@ will result in:
       bind-resources
    ></sib-conversation>
 
+In the same way, the ``bind-user`` attribute  can be used to associate the
+currently logged in user to a component and set its ``data-src`` attribute
+accordingly.
+More informations about this in the :ref:`sib-auth documentation<bind-user>`.
+
 Navigate with an event
 ~~~~~~~~~~~~~~~~~~~~~
 
-- 
GitLab