Created 'post' as a resource and controller with a homepage