]> gitweb.michael.orlitzky.com - dead/census-tools.git/blob - maps/maps/controllers/javascript.py
Added the linear program solving the midatlantic region.
[dead/census-tools.git] / maps / maps / controllers / javascript.py
1 import logging
2
3 from pylons import request, response, session, tmpl_context as c
4 from pylons.controllers.util import abort, redirect_to
5
6 from maps.lib.base import BaseController, render
7
8 log = logging.getLogger(__name__)
9
10 class JavascriptController(BaseController):
11
12 def index(self):
13 return ''
14
15 def routing(self):
16 c.json = request.GET['json']
17 return render('/javascript/routing.mako')