Skip to content

Commit

Permalink
[bug 793701] Redirect /sync to /products/firefox/sync
Browse files Browse the repository at this point in the history
  • Loading branch information
rlr committed Oct 8, 2012
1 parent 279271e commit 0d10bb5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion apps/landings/views.py
Expand Up @@ -103,7 +103,11 @@ def mobile(request, template=None):
@mobile_template('landings/{mobile/}sync.html')
def sync(request, template=None):
if not request.MOBILE:
return redirect_to(request, 'home', permanent=False)
return redirect_to(
request, 'products.documents',
product_slug='firefox',
topic_slug='sync',
permanent=False)

docs = SYNC_DOCS_FOR_MOBILE
return jingo.render(request, template,
Expand Down

0 comments on commit 0d10bb5

Please sign in to comment.