Publish controller working