Skip to content
Myr

Merge pull request #2060 from swrh/master

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Roman Shtylman · committed by Roman Shtylman · parents af5f21b, b38ffd7 · Browse files · 4 files+8 added−3 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Trailers

  • examples: Fix bugs in MVC example

Diff stats

4 files+8 added−3 removed

  • other:+8 added−3 removed

4 files+8 added−3 removed

modified:examples/mvc/controllers/pet/views/edit.jade+2 added-2 removed
1link(rel='stylesheet', href='/style.css')2h1= pet.name3form(action='/pet/#{pet.id}', method='post')4 input(type='hidden', name='_method', value='put')5 label Name: 6 input(type='text', name='user[name]', value=pet.name)5 label= 'Name: '6 input(type='text', name='pet[name]', value=pet.name)7 input(type='submit', value='Update')
modified:examples/mvc/controllers/pet/index.js+1 added-1 removed
modified:examples/mvc/index.js+4 added
modified:package.json+1 added
57 unmodified lines
58 "connect-redis": "~1.4.5",59 "marked": "0.2.10",60 "supertest": "~0.8.1",61 "body-parser": "1.0.0",62 "method-override": "1.0.0",63 "cookie-parser": "1.0.1",64 "static-favicon": "1.0.0",65 "express-session": "1.0.1",66 "morgan": "1.0.0",
23 unmodified lines