Creates Post resource and updated index and show views