Custom action not working
I have a custom action to create a new post which I want to use throughout my application on different pages. If i make the same action with Action::make() under my custom page's getHeaderActions, it works but when using my custom action class it doesn't:
Used in page:
Error:
Why do i need a view? And what am i supposed to add into the view?
2 Replies
You are probably missing a
parent::setUp()
That was it, thank you!