Skip to content

Commit

Permalink
Add waffle switch to keep page disabled until Jan5
Browse files Browse the repository at this point in the history
Bug 1108632
  • Loading branch information
sgarrity committed Dec 22, 2014
1 parent 01a5c85 commit 26727a2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bedrock/firefox/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
import bedrock.releasenotes.views
from bedrock.releasenotes import version_re

from waffle.decorators import waffle_switch

latest_re = r'^firefox(?:/(?P<version>%s))?/%s/$'
firstrun_re = latest_re % (version_re, 'firstrun')
Expand Down Expand Up @@ -41,7 +42,7 @@
page('firefox/android', 'firefox/android/index.html'),
page('firefox/android/faq', 'firefox/android/faq.html'),
page('firefox/os/faq', 'firefox/os/faq.html'),
page('firefox/os/tv', 'firefox/os/tv.html'),
page('firefox/os/tv', 'firefox/os/tv.html', decorators=waffle_switch('firefox-os-tv')),
url('^firefox/sms/$', views.sms_send, name='firefox.sms'),
page('firefox/sms/sent', 'firefox/android/sms-thankyou.html'),
page('firefox/sync', 'firefox/sync.html'),
Expand Down

0 comments on commit 26727a2

Please sign in to comment.