[48243769] restful api : set the current_user setter as before_filter