getting error in the post_controller file
Added create and update CRUD actions