title: cannot post /post nodejs
body: <p>the code in my app.coffee it uses coffee script i have put body parser and method ovveride</p>
  
  <pre><code>           express = require("express")
            everyauth = require("everyauth")
               should = require("should")
          fs = require("fs")
  
        everyauth.debug = true
          usersByLogin = krishna:
            login: "krishna"
            email: "krishna@blogab.com"
               password: "krishna"
  
            everyauth.password.loginWith("login").getLoginPath("/login").postLoginPath("        
         /login").loginView("bcore/login.jade").loginLocals((req, res, done) -&gt;
        setTimeout (-&gt;
         done null,
             title: "blogab - login"
            ), 200
           ).authenticate((login, password) -&gt;
        errors = []
          errors.push "Missing login"  unless login
         errors.push "Missing password"  unless password
         return errors  if errors.length
           user = usersByLogin[login]
          return [ "Login failed" ]  unless user
          return [ "Login failed" ]  if user.password isnt password
        user
         ).getRegisterPath("/register").postRegisterPath("    
  
           /register").registerView("bcore                 
  
           /register.jade").registerLocals((req, res, done) -&gt;
        setTimeout (-&gt;
           done null,
              title: " Register"
            ), 200
             ).extractExtraRegistrationParams((req) -&gt;
          email: req.body.email
         ).validateRegistration((newUserAttrs, errors) -&gt;
          login = newUserAttrs.login
          errors.push "Login already taken"  if usersByLogin[login]
          errors
           ).registerUser((newUserAttrs) -&gt;
              login = newUserAttrs[@loginKey()]
               usersByLogin[login] = newUserAttrs
             ).loginSuccessRedirect("/admin").registerSuccessRedirect "/admin"
                      app =  express.createServer
  
            (express.bodyParser(),express.methodOverride(),     
               express.static(__dirname + "/public"),
  
  
                   express.session(secret: "htuayreve"),  everyauth.middleware())
  
                express.cookieParser(), 
                 app.configure -&gt;
               app.set "view engine", "jade"
  
              app.get "/", (req, res) -&gt;
           res.render "templates/default/index",
            title: "blogab"
            users: JSON.stringify(usersByLogin, null, 2)
  
           app.get "/admin", (req, res) -&gt;
           res.render "bcore/admin",
           title: "Blogab-admin"
            users: JSON.stringify(usersByLogin, null, 2)
  
             app.get "/login", (req, res) -&gt;
              res.render "bcore/login",
               title: "login"
               users: JSON.stringify(usersByLogin, null, 2)
  
                 app.get "/post", (req, res) -&gt;
                     res.render "bcore/viewpost",
                      title: "login"
                      users: JSON.stringify(usersByLogin, null, 2)
  
              app.get "/admin/post/new", (req, res) -&gt;
              res.render "bcore/newpost",
             title: "Blogab-newpost"
              users: JSON.stringify(usersByLogin, null, 2)
  
         everyauth.helpExpress app
           app.listen 1224, -&gt;
            console.log "blogab is  running on port %d in %s mode",
              app.address().port,   app.setting
  </code></pre>
  
  <p>and in newpost.jade   it is the code for newpost </p>
  
  <pre><code>            !!! 5
             html(xmlns='http://www.w3.org/1999/xhtml')
             head
             title
            link(href='/css/master.css', rel='stylesheet', type='text/css')
            body
             h1
             | New post
             form#new_post.new_post(method='post', action='/posts')
               .field
                label(for='post_title') Title
                 br
                   input#post_title(type='text', name='title', size='30')
             .field
                label(for='post_content') Content
              br
                 textarea#post_content(name='content', cols='40', rows='20')
            .actions
                input#post_submit(type='submit', value='Create Post')
              p
                 br
                   a(href='/posts') Back
  </code></pre>
  
  <p>when i click post it in newpost.jade it says cannot post /post and i am creating nodejs based cms i haved  used express body parser  and method ovveride</p>