projects
/
zzz-floof.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make search a GET to /search.
[zzz-floof.git]
/
floof
/
controllers
/
art.py
diff --git
a/floof/controllers/art.py
b/floof/controllers/art.py
index
e988c7b
..
8d40321
100644
(file)
--- a/
floof/controllers/art.py
+++ b/
floof/controllers/art.py
@@
-19,8
+19,8
@@
class ArtController(BaseController):
def new(self):
""" New Art! """
return render("/art/new.mako")
def new(self):
""" New Art! """
return render("/art/new.mako")
-
-
+
+
def upload(self):
print "PARAMS", request.params
Art(uploaded_by=c.user, **request.params)
def upload(self):
print "PARAMS", request.params
Art(uploaded_by=c.user, **request.params)
@@
-30,7
+30,7
@@
class ArtController(BaseController):
def show(self, id):
c.art = Art.get(id)
return render("/art/show.mako")
def show(self, id):
c.art = Art.get(id)
return render("/art/show.mako")
-
+
def tag(self, id):
art = Art.get(id)
art.add_tags(request.params["tags"], c.user)
def tag(self, id):
art = Art.get(id)
art.add_tags(request.params["tags"], c.user)