<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 06.08.2013 00:20, <a class="moz-txt-link-abbreviated" href="mailto:olaf@olafchrist.de">olaf@olafchrist.de</a>
      wrote:<br>
    </div>
    <blockquote
      cite="mid:20130806002029.14848j32laoyov1p@webmail.olafchrist.de"
      type="cite">Hi everybody,
      <br>
      <br>
      I am helping writing an owncloud app. Is it possible to link to
      the user's personal settings page?
      <br>
      <br>
      link_to('index.php', 'settings/personal')
      <br>
      <br>
      works but seems kind of wrong to me (linking should only be done
      inside apps).
      <br>
      <br>
      Please see the relevant commit for more information:
      <br>
<a class="moz-txt-link-freetext" href="https://github.com/olafc/owncloud/commit/1cee8e73130b8f7d315279270081b61a8e9aeabb#commitcomment-3792827">https://github.com/olafc/owncloud/commit/1cee8e73130b8f7d315279270081b61a8e9aeabb#commitcomment-3792827</a>
      <br>
    </blockquote>
    <meta http-equiv="content-type" content="text/html;
      charset=ISO-8859-1">
    Try using routes: \OCP\Util::linkToRoute('settings_personal'), see
    <a class="moz-txt-link-freetext" href="https://github.com/owncloud/core/blob/master/settings/routes.php#L12">https://github.com/owncloud/core/blob/master/settings/routes.php#L12</a><br>
    <br>
    so long<br>
    <br>
    Jörn<br>
    <pre class="moz-signature" cols="72">-- 
Jörn Friedrich Dreyer (<a class="moz-txt-link-abbreviated" href="mailto:jfd@owncloud.com">jfd@owncloud.com</a>)
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)
</pre>
  </body>
</html>