Diff of /ForgeDiscussion/forgediscussion/forum_main.py [cd0c16] .. [5a1aad]  Maximize  Restore

  Switch to side-by-side view

--- a/ForgeDiscussion/forgediscussion/forum_main.py
+++ b/ForgeDiscussion/forgediscussion/forum_main.py
@@ -16,7 +16,7 @@
 from allura import model as M
 from allura.app import Application, ConfigOption, SitemapEntry, DefaultAdminController
 from allura.lib import helpers as h
-from allura.lib.decorators import audit, react
+from allura.lib.decorators import audit, react, require_post
 from allura.lib.security import require, has_artifact_access
 # Local imports
@@ -276,6 +276,7 @@
+    @require_post()
     def update_forums(self, forum=None, new_forum=None, **kw):
         if forum is None: forum = []
         if new_forum.get('create'):

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks