From 10ce4bbc6952d40c5b51843ea7039288c8965854 Mon Sep 17 00:00:00 2001 From: artunit Date: Mon, 24 Nov 2008 19:27:56 +0000 Subject: [PATCH] git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@40 6d9bc8c9-1ec2-4278-b937-99fde70a366f --- conifer/syrup/urls.py | 1 + conifer/syrup/views.py | 3 +++ 2 files changed, 4 insertions(+) diff --git a/conifer/syrup/urls.py b/conifer/syrup/urls.py index f458621..60ad310 100644 --- a/conifer/syrup/urls.py +++ b/conifer/syrup/urls.py @@ -4,5 +4,6 @@ urlpatterns = patterns('conifer.syrup.views', (r'^$', 'welcome'), (r'^course/$', 'my_courses'), (r'^opencourse/$', 'open_courses'), + (r'^join/$', 'join_course'), (r'^course/(?P\d+)/$', 'course_detail'), ) diff --git a/conifer/syrup/views.py b/conifer/syrup/views.py index eb6ea75..733cf93 100644 --- a/conifer/syrup/views.py +++ b/conifer/syrup/views.py @@ -41,6 +41,9 @@ def open_courses(request): page_num=page_num, count=count) +def join_course(request): + return g.render('welcome.xhtml') + @login_required def my_courses(request): return g.render('my_courses.xhtml') -- 2.11.0