From eca9db6bba45a4131f1e8ad6d497c58420abfb96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20M=C3=BCller?= Date: Mon, 29 Feb 2016 13:43:05 +0100 Subject: THIS IS CONTACTS! --- appinfo/app.php | 12 ++++++------ appinfo/info.xml | 3 +-- appinfo/routes.php | 6 +++--- 3 files changed, 10 insertions(+), 11 deletions(-) (limited to 'appinfo') diff --git a/appinfo/app.php b/appinfo/app.php index 10e59162..49f83da9 100644 --- a/appinfo/app.php +++ b/appinfo/app.php @@ -1,6 +1,6 @@ getContainer(); $container->query('OCP\INavigationManager')->add(function () use ($container) { @@ -21,18 +21,18 @@ $container->query('OCP\INavigationManager')->add(function () use ($container) { $l10n = $container->query('OCP\IL10N'); return [ // the string under which your app will be referenced in owncloud - 'id' => 'contactsrework', + 'id' => 'contacts', // sorting weight for the navigation. The higher the number, the higher // will it be listed in the navigation 'order' => 10, // the route that will be shown on startup - 'href' => $urlGenerator->linkToRoute('contactsrework.page.index'), + 'href' => $urlGenerator->linkToRoute('contacts.page.index'), // the icon that will be shown in the navigation // this file needs to exist in img/ - 'icon' => $urlGenerator->imagePath('contactsrework', 'app.svg'), + 'icon' => $urlGenerator->imagePath('contacts', 'app.svg'), // the title of your application. This will be used in the // navigation or on the settings page of your app diff --git a/appinfo/info.xml b/appinfo/info.xml index bfe60cc6..dc0b54b3 100644 --- a/appinfo/info.xml +++ b/appinfo/info.xml @@ -1,12 +1,11 @@ - contactsrework + contacts Contacts The new and improved app for your Contacts. AGPL Hendrik Leppelsack 0.0.1 - ContactsRework other diff --git a/appinfo/routes.php b/appinfo/routes.php index 5998bf47..edea0e49 100644 --- a/appinfo/routes.php +++ b/appinfo/routes.php @@ -1,6 +1,6 @@ OCA\ContactsRework\Controller\PageController->index() + * e.g. page#index -> OCA\Contacts\Controller\PageController->index() * * The controller class has to be registered in the application.php file since * it's instantiated in there @@ -22,4 +22,4 @@ return [ ['name' => 'page#index', 'url' => '/', 'verb' => 'GET'], ['name' => 'page#do_echo', 'url' => '/echo', 'verb' => 'POST'], ] -]; \ No newline at end of file +]; -- cgit v1.2.3