Added real registration that prompts for a username.
[zzz-floof.git] / floof / controllers / search.py
index 75bbba8..88dfbe3 100644 (file)
@@ -13,14 +13,8 @@ import elixir
 class SearchController(BaseController):
 
     def index(self):
-        # Return a rendered template
-        #return render('/search.mako')
-        # or, return a response
-        return 'Hello World'
-
-    def results(self):
-        """ Search, implemented the stupid way! """
-        query = request.params.get('query','')
+        """Search, implemented the stupid way!"""
+        query = request.params.get('query', '')
         tags = query.split()
 
         tagtexts = TagText.query.filter(TagText.text.in_(tags))