summaryrefslogtreecommitdiffstats
path: root/src/router/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/router/index.js')
-rw-r--r--src/router/index.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/router/index.js b/src/router/index.js
index bc2c7433..a27f628b 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -17,6 +17,7 @@
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
*/
import { generateUrl } from '@nextcloud/router'
@@ -125,5 +126,14 @@ export default new Router({
window.open(mapsPath, '_blank')
},
},
+ {
+ path: '/thisday',
+ name: 'thisday',
+ component: Timeline,
+ props: route => ({
+ rootTitle: t('photos', 'On this day'),
+ onThisDay: true,
+ }),
+ },
],
})