Switch to side-by-side view
--- a/Allura/allura/controllers/auth.py +++ b/Allura/allura/controllers/auth.py @@ -66,6 +66,14 @@ self.user_info = UserInfoController() self.subscriptions = SubscriptionsController() self.oauth = OAuthController() + + @expose() + def prefs(self, *args, **kwargs): + ''' + Redirect old /auth/prefs URL to /auth/subscriptions + (to handle old email links, etc). + ''' + redirect('subscriptions') @expose('jinja:allura:templates/login.html') @with_trailing_slash