Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
yotta
/
pictogram
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
60
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
69441fe7
authored
Jul 27, 2016
by
Arturo Montejo Ráez
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
working on picto controller
parent
686992d7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
sails/src/api/controllers/PictoController.js
sails/src/assets/styles/main.css
sails/src/api/controllers/PictoController.js
View file @
69441fe7
...
...
@@ -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
})
...
...
sails/src/assets/styles/main.css
View file @
69441fe7
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment