from django.conf.urls.defaults import patterns, url

from commons.views import redirect_to
from . import views

urlpatterns = patterns('',
    url(r'^$', redirect_to, {'url': 'eol.home'}),
    url(r'^home$', views.home, name='eol.home'),
    url(r'^newsletter', views.newsletter, name='eol.newsletter'),

    url(r'^m/$', redirect_to, {'url': 'eol.home_mobile'}),
    url(r'^m/home$', views.home_mobile, name='eol.home_mobile'),
    url(r'^m/sharing-the-spark$', views.spark_sharing, name='eol.sharing'),
    url(r'^m/around-the-globe$', views.spark_around, name='eol.around'),
    url(r'^m/hall-of-fame$', views.spark_hall, name='eol.hall'),
)