Source

inbounding / inbounding / dispatch / urls.py

Full commit
from django.conf.urls.defaults import patterns, include, url

from dispatch.views import HomeView, Dashboard
from dispatch.models import Action, Refer

urlpatterns = patterns('dispatch.views',
    url(r'^dashboard/$', Dashboard.as_view(), name="dashboard-url"),
    url(r'^mailchimp/$', 'mailchimp', name="mailchimp-url"),
    url(r'^action/(?P<id>\d)/$', 'action_page'),                       
    url(r'^action/$', 'action_page'),                       
    url(r'^capture/$', 'ref_log'), 
    (r'^accounts/', include('userena.urls')),                  
    url(r'^subscribe/(?P<list_id>[-\w]+)/$', 'mc_signup'), 
    url(r'^subscribe/$', 'mc_signup'),                
)

urlpatterns = urlpatterns + patterns('',
    url(r'^api/', include('dispatch.api.urls')),
)