Minister vows action against teachers working as journalists