working on picto controller

parent 686992d7
...@@ -187,7 +187,7 @@ module.exports = { ...@@ -187,7 +187,7 @@ module.exports = {
destroy: function(req, res) { destroy: function(req, res) {
var params = req.params.all(); var params = req.params.all();
if (!params.id) { if (!params.id)
return res.badRequest(); return res.badRequest();
Picto.update({ id: params.id }, { owner: null }) Picto.update({ id: params.id }, { owner: null })
......
...@@ -303,7 +303,7 @@ textarea.editable{ ...@@ -303,7 +303,7 @@ textarea.editable{
.picto{ .picto{
margin: 0.4%; margin: 0.4%;
width: 9.2%; width: 9.2%;
height: auto; height: 9.2%;
border: 1px solid #bbb; border: 1px solid #bbb;
border-radius: 4px; border-radius: 4px;
padding: 2px; padding: 2px;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment