Redirect /download to /install (closes #99)

This commit is contained in:
Michael Snoyman 2015-08-13 11:34:05 +03:00
parent 1e54d46414
commit e663fc4a63

View File

@ -33,9 +33,7 @@ currentlySupported Linux64 = True
currentlySupported _ = False
getDownloadR :: Handler Html
getDownloadR = defaultLayout $ do
setTitle "Download"
$(widgetFile "download")
getDownloadR = redirectWith status301 InstallR
getDownloadSnapshotsJsonR :: Handler Value
getDownloadSnapshotsJsonR = getDownloadLtsSnapshotsJsonR