Remove Blender Cloud specific redirects

They have been moved to the Apache config file in the blender-cloud repo.
This commit is contained in:
Francesco Siddi 2017-06-01 17:23:11 +02:00
parent 80a0643747
commit 8c38861c2f

View File

@ -226,36 +226,6 @@ def training():
return render_page() return render_page()
@blueprint.route('/gallery')
def gallery():
return redirect('/p/gallery')
@blueprint.route('/textures')
def redir_textures():
return redirect('/p/textures')
@blueprint.route('/hdri')
def redir_hdri():
return redirect('/p/hdri')
@blueprint.route('/caminandes')
def caminandes():
return redirect('/p/caminandes-3')
@blueprint.route('/cf2')
def cf2():
return redirect('/p/creature-factory-2')
@blueprint.route('/characters')
def redir_characters():
return redirect('/p/characters')
@blueprint.route('/vrview') @blueprint.route('/vrview')
def vrview(): def vrview():
"""Call this from iframes to render sperical content (video and images)""" """Call this from iframes to render sperical content (video and images)"""
@ -270,18 +240,6 @@ def error_403():
return render_template('errors/403_embed.html') return render_template('errors/403_embed.html')
@blueprint.route('/join-agent')
def join_agent():
"""Custom page to support Agent 327 barbershop campaign"""
return render_template('join_agent.html')
# Shameful redirects
@blueprint.route('/p/blender-cloud/')
def redirect_cloud_blog():
return redirect('/blog')
@blueprint.route('/feeds/blogs.atom') @blueprint.route('/feeds/blogs.atom')
def feeds_blogs(): def feeds_blogs():
"""Global feed generator for latest blogposts across all projects""" """Global feed generator for latest blogposts across all projects"""