[Owncloud] Owncloud App: Link to settings page

Jan-Christoph Borchardt hey at jancborchardt.net
Wed Aug 7 09:21:08 UTC 2013


Just curious: Why do you want to link to that page and what is the app about?
All settings related to that app should be in the app itself.

On Tue, Aug 6, 2013 at 5:36 PM, Jörn Friedrich Dreyer <jfd at owncloud.com> wrote:
> On 06.08.2013 00:20, olaf at olafchrist.de wrote:
>
> Hi everybody,
>
> I am helping writing an owncloud app. Is it possible to link to the user's
> personal settings page?
>
> link_to('index.php', 'settings/personal')
>
> works but seems kind of wrong to me (linking should only be done inside
> apps).
>
> Please see the relevant commit for more information:
> https://github.com/olafc/owncloud/commit/1cee8e73130b8f7d315279270081b61a8e9aeabb#commitcomment-3792827
>
> Try using routes: \OCP\Util::linkToRoute('settings_personal'), see
> https://github.com/owncloud/core/blob/master/settings/routes.php#L12
>
> so long
>
> Jörn
>
> --
> Jörn Friedrich Dreyer (jfd at owncloud.com)
> Senior Software Engineer
> ownCloud GmbH
>
> Your Data, Your Cloud, Your Way!
>
> ownCloud GmbH, GF: Markus Rex, Holger Dyroff
> Schloßäckerstrasse 26a, 90443 Nürnberg, HRB 28050 (AG Nürnberg)
>
>
> _______________________________________________
> Owncloud mailing list
> Owncloud at kde.org
> https://mail.kde.org/mailman/listinfo/owncloud
>



More information about the Owncloud mailing list