Creates Post resource and updates index and show views