[Owncloud] Owncloud App: Link to settings page
olaf at olafchrist.de
olaf at olafchrist.de
Wed Aug 7 16:46:10 UTC 2013
Hi Jörn,
works great. Thanks for the hint.
Best regards,
Olaf
Quoting Jörn Friedrich Dreyer <jfd at owncloud.com>:
> 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)
>
>
More information about the Owncloud
mailing list