I'm adding a button to the toolbar using
I want it to have the same effect as clicking on the following menu button:
<menu view="thing" layout="add" img="class:banners" alt="Add thing" > Add thing </menu>
Is this possible? Seems like
addNew cannot be used to use a view from another controller? I can get the button to use the method
add from controller
thing, but not to use view
Edit: Fixed by messing around with controller/model naming.