working on picto controller

parent 686992d7
......@@ -187,7 +187,7 @@ module.exports = {
destroy: function(req, res) {
var params = req.params.all();
if (!params.id) {
if (!params.id)
return res.badRequest();
Picto.update({ id: params.id }, { owner: null })
......
......@@ -303,7 +303,7 @@ textarea.editable{
.picto{
margin: 0.4%;
width: 9.2%;
height: auto;
height: 9.2%;
border: 1px solid #bbb;
border-radius: 4px;
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