add two methods to posts controller
Merge branch 'master' of github.com:alejorivera/chispudo