--- /dev/null
+import logging
+
+from pylons import request, response, session, tmpl_context as c, h
+from pylons.controllers.util import abort, redirect
+from pylons import url
+
+from floof.lib.base import BaseController, render
+
+log = logging.getLogger(__name__)
+import elixir
+from floof.model.search import GalleryWidget
+class GalleryController(BaseController):
+
+ def delete(self, id):
+ c.gallery = h.get_object_or_404(GalleryWidget, id=id)
+ elixir.session.delete(tag)
+ elixir.session.commit()