theme_key does not switch theme when URL user//edit is called Hello fellows and Gurus, 

I am having a problem with a mobile theme of our standard website (running Drupal 7)

We therefore have two URLs: 


mywebsite.com
m.mywebsite.com


We use the ThemeKey module to redirect to the correct theme/templates. We also tried Mobile Tools, but it does not work any better, so it is currently disabled.  

For most pages, the url detection works and successfully redirects to the mobile theme when m.mywebsite.com/&lt;somepage&gt; is called. 

However, when user wants to edit his own profile (m.mywebsite.com/user/&lt;uid&gt;/edit), the standard page is shown instead. 

Same happens with the "cancel account page" (m.mywebsite.com/user/&lt;uid&gt;/cancel). 

However the registration page (m.mywebsite.com/user/register), and the forgot your password page (m.mywebsite.com/user/password) works OK. Even when the user is connected for the latter. 

Any ideas of what could be wrong in our configuration/code ?
Here is the answer : http://drupal.org/node/1130158
To quote:

user/%/edit is an admin path. See function user_admin_paths for details.
So if you enabled an &quot;Administration theme&quot; at &quot;/admin/appearance&quot;, this theme will be applied instead of any theme configured using ThemeKey.

Also: Don't forget to specify &quot;system&quot; in your settings for theme_key.