Toggle navigation
Toggle navigation
This project
Loading...
Sign in
김재현
/
open-source-project-2017-02
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
김정은
2017-12-07 12:48:01 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
f6cfe0737e802443e8e7af973f5106811506820e
f6cfe073
1 parent
39c842f6
fix query error
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
5 deletions
routes/index.js
views/map.ejs
routes/index.js
View file @
f6cfe07
...
...
@@ -46,7 +46,7 @@ router.post('/map', function(req, res){
'idusers'
:
req
.
body
.
userid
,
'address'
:
req
.
body
.
placeaddress
,
'conten
d
id'
:
req
.
body
.
placeid
,
'conten
t
id'
:
req
.
body
.
placeid
,
'title'
:
req
.
body
.
placename
}
...
...
@@ -97,4 +97,3 @@ res.render('test', {title: 'test'});
});
module
.
exports
=
router
;
connection
.
end
();
...
...
views/map.ejs
View file @
f6cfe07
...
...
@@ -11,9 +11,6 @@
function
forming
()
{
console
.
log
(
place
)
if
(
confirm
(
"맛집견문록에 기록하겠습니까?"
)){
document
.
forms
[
"userform"
].
submit
();
...
...
Please
register
or
login
to post a comment