Added restful routing to posts