made rest actions of Post controller