Skip to content

Commit

Permalink
Improved ID use
Browse files Browse the repository at this point in the history
  • Loading branch information
benwerd committed Apr 28, 2021
1 parent 46267a5 commit 87ef867
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions Main.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ function registerPages()
{
\Idno\Core\Idno::site()->routes()->addRoute('/like/edit/?', '\IdnoPlugins\Like\Pages\Edit');
\Idno\Core\Idno::site()->routes()->addRoute('/like/callback/?', '\IdnoPlugins\Like\Pages\Callback');
\Idno\Core\Idno::site()->routes()->addRoute('/like/edit/([A-Za-z0-9\-]+)/?', '\IdnoPlugins\Like\Pages\Edit');
\Idno\Core\Idno::site()->routes()->addRoute('/like/delete/([A-Za-z0-9\-]+)/?', '\IdnoPlugins\Like\Pages\Delete');
\Idno\Core\Idno::site()->routes()->addRoute('/bookmark/([A-Za-z0-9\-]+)/.*', '\Idno\Pages\Entity\View');
\Idno\Core\Idno::site()->routes()->addRoute('/like/edit/:id/?', '\IdnoPlugins\Like\Pages\Edit');
\Idno\Core\Idno::site()->routes()->addRoute('/like/delete/:id/?', '\IdnoPlugins\Like\Pages\Delete');
\Idno\Core\Idno::site()->routes()->addRoute('/bookmark/:id/.*', '\Idno\Pages\Entity\View');
}

function registerTranslations()
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "idno/like",
"description": "Bookmark a page in Known.",
"type": "known-plugin",
"version": "1.0.1",
"version": "1.0.2",
"require": {
"composer/installers": "~1.0"
},
Expand Down
2 changes: 1 addition & 1 deletion plugin.ini
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

[Plugin description]
name = 'Bookmark'
version = '1.0.1'
version = '1.0.2'
author = 'Known'
author_email = '[email protected]'
author_url = 'https://withknown.com'
Expand Down

0 comments on commit 87ef867

Please sign in to comment.