Merge branch 'master' of github.com:datagovuk/ckanext-ga-report
[ckanext-ga-report.git] / ckanext / ga_report / controller.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import logging
from ckan.lib.base import BaseController, c, render
import report_model
 
log = logging.getLogger('ckanext.ga-report')
 
class GaReport(BaseController):
    def index(self):
        return render('ga_report/site/index.html')
 
 
class GaPublisherReport(BaseController):
 
    def index(self, id):
        return render('ga_report/publisher/index.html')