1
1
Fork 0

Rename BookMarklet to Bookmarklet

This commit is contained in:
Philipp Holzer 2019-05-05 17:59:57 +02:00
parent 155d541860
commit 440d0a3a63
No known key found for this signature in database
GPG key ID: 517BE60E2CE5C8A5
2 changed files with 2 additions and 2 deletions

View file

@ -89,7 +89,7 @@ class Router
$this->routeCollector->addRoute(['GET'], '/apps', Module\Apps::class); $this->routeCollector->addRoute(['GET'], '/apps', Module\Apps::class);
$this->routeCollector->addRoute(['GET'], '/attach/{item:\d+}', Module\Attach::class); $this->routeCollector->addRoute(['GET'], '/attach/{item:\d+}', Module\Attach::class);
$this->routeCollector->addRoute(['GET'], '/babel', Module\Babel::class); $this->routeCollector->addRoute(['GET'], '/babel', Module\Babel::class);
$this->routeCollector->addRoute(['GET'], '/bookmarklet', Module\BookMarklet::class); $this->routeCollector->addRoute(['GET'], '/bookmarklet', Module\Bookmarklet::class);
$this->routeCollector->addGroup('/contact', function (RouteCollector $collector) { $this->routeCollector->addGroup('/contact', function (RouteCollector $collector) {
$collector->addRoute(['GET'], '[/]', Module\Contact::class); $collector->addRoute(['GET'], '[/]', Module\Contact::class);
$collector->addRoute(['GET'], '/{id:\d+}[/posts|conversations]', Module\Contact::class); $collector->addRoute(['GET'], '/{id:\d+}[/posts|conversations]', Module\Contact::class);

View file

@ -12,7 +12,7 @@ use Friendica\Util\Strings;
* Creates a bookmarklet * Creates a bookmarklet
* Shows either a editor browser or adds the given bookmarklet to the current user * Shows either a editor browser or adds the given bookmarklet to the current user
*/ */
class BookMarklet extends BaseModule class Bookmarklet extends BaseModule
{ {
public static function content() public static function content()
{ {