Created post resource and updated index and post views