diff --git a/pylons_app/templates/base/base.html b/pylons_app/templates/base/base.html
--- a/pylons_app/templates/base/base.html
+++ b/pylons_app/templates/base/base.html
@@ -151,15 +151,4 @@ def is_current(selected):
%endif
%endif
-%def>
-
-
-<%def name="message_slug(msg)">
- <%
- limit = 60
- if len(msg) > limit:
- return msg[:limit]+'...'
- else:
- return msg
- %>
%def>
\ No newline at end of file