update create action in posts controller
update create action in posts controller
add show action to posts controller