first commit
This commit is contained in:
24
appinfo/info.xml
Normal file
24
appinfo/info.xml
Normal file
@ -0,0 +1,24 @@
|
||||
<?xml version="1.0"?>
|
||||
<info xmlns:xsi= "http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:noNamespaceSchemaLocation="https://apps.nextcloud.com/schema/apps/info.xsd">
|
||||
<id>mywiki</id>
|
||||
<name>My Wiki</name>
|
||||
<summary>Wiki personal para organizar tus notas</summary>
|
||||
<description><![CDATA[Wiki personal para organizar tus notas]]></description>
|
||||
<version>0.0.1</version>
|
||||
<licence>agpl</licence>
|
||||
<author mail="jd@infdj.com" homepage="https://jd.guillen.io">José David Guillén Dominguez</author>
|
||||
<namespace>MyWiki</namespace>
|
||||
<category>office</category>
|
||||
<category>organization</category>
|
||||
<bugs>https://git.jd.guillen.io/wiki4nextcloud/issues</bugs>
|
||||
<dependencies>
|
||||
<nextcloud min-version="12" max-version="12"/>
|
||||
</dependencies>
|
||||
<navigations>
|
||||
<navigation>
|
||||
<name>My Wiki</name>
|
||||
<route>mywiki.page.index</route>
|
||||
</navigation>
|
||||
</navigations>
|
||||
</info>
|
17
appinfo/routes.php
Normal file
17
appinfo/routes.php
Normal file
@ -0,0 +1,17 @@
|
||||
<?php
|
||||
/**
|
||||
* Create your routes in here. The name is the lowercase name of the controller
|
||||
* without the controller part, the stuff after the hash is the method.
|
||||
* e.g. page#index -> OCA\MyWiki\Controller\PageController->index()
|
||||
*
|
||||
* The controller class has to be registered in the application.php file since
|
||||
* it's instantiated in there
|
||||
*/
|
||||
return [
|
||||
'resources' => [
|
||||
'wiki' => ['url' => '/wiki']
|
||||
],
|
||||
'routes' => [
|
||||
['name' => 'page#index', 'url' => '/', 'verb' => 'GET']
|
||||
]
|
||||
];
|
Reference in New Issue
Block a user