# !/usr/bin/env python
# encoding: utf-8
#
# This file is part of ckanext-nhm
# Created by the Natural History Museum in London, UK

from flask import Blueprint

from ckan.plugins import toolkit

# bbcm = big butterfly count map :)
# create a flask blueprint with a prefix
blueprint = Blueprint(name=u'big-butterfly-count-map', import_name=__name__,
                      url_prefix=u'/big-butterfly-count-map')


@blueprint.route(u'')
@blueprint.route(u'/')
def bbcm():
    '''
    Render the big butterfly count map page.
    '''
    return toolkit.render(u'bbcm.html', {})

@@ -255,22 +255,8 @@
 rint
- with a prefix
 %0Ablu
@@ -331,116 +331,55 @@
 me__
-,%0A                      url_prefix=u'/big-butterfly-count-map')%0A%0A%0A@blueprint.route(u'')%0A@blueprint.route(u'/
+)%0A%0A%0A@blueprint.route(u'/big-butterfly-count-map
 ')%0Ad

Allow the url to be accessed with or without a / on the end