Well that is currently not possible, but something tells me that your use case is not unique and that there is a better solution for this! Can you describe your use case?
Mar 20, 2018
13
Level 2
Two posts in one view, determining which controller method to use in routes?
Hey, is it possible to check for variable values from post form in route file and based on them determine which controller method to use?
E.g. pass two variables, $edit and $store, then based on their values determine in routes file which controller method to use? If $edit =1, use test@edit with the post form data, if $store = 1, use test@store with form data.
Thanks in advance.
Please or to participate in this conversation.