summaryrefslogtreecommitdiffstats
path: root/askbot/urls.py
diff options
context:
space:
mode:
authorAdolfo Fitoria <adolfo.fitoria@gmail.com>2012-08-15 00:17:03 -0600
committerAdolfo Fitoria <adolfo.fitoria@gmail.com>2012-08-15 00:17:03 -0600
commit335df86439ca129c5e5a7a2e84afa39fadcb62d2 (patch)
tree9ee339a4090897d8b669a4b7fd9e3fa9d467fcc8 /askbot/urls.py
parent267587ef672703d90cfb8cc22a147c1e572de483 (diff)
downloadaskbot-335df86439ca129c5e5a7a2e84afa39fadcb62d2.tar.gz
askbot-335df86439ca129c5e5a7a2e84afa39fadcb62d2.tar.bz2
askbot-335df86439ca129c5e5a7a2e84afa39fadcb62d2.zip
Added the /widgets/ view and that link into the navigation bar
Diffstat (limited to 'askbot/urls.py')
-rw-r--r--askbot/urls.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/askbot/urls.py b/askbot/urls.py
index b91c2ed8..f4576465 100644
--- a/askbot/urls.py
+++ b/askbot/urls.py
@@ -382,6 +382,12 @@ urlpatterns = patterns('',
),
#widgets url!
url(
+ r'^widgets/$',
+ views.widgets.widgets,
+ name = 'widgets'
+ ),
+
+ url(
r'^widgets/ask/(?P<widget_id>\d+)/$',
views.widgets.ask_widget,
name = 'ask_by_widget'