Adds the ability to fetch information on download events
[ckanext-ga-report.git] / ckanext / ga_report / controller.py
Ross Jones
Ross Jones

David Read
Ross Jones
Ross Jones
Ross Jones
Ross Jones
Ross Jones

Ross Jones
Ross Jones
David Read


Ross Jones
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')