Welcome Guest, Not a member yet? Register   Sign In
Is it possible for one controller/method to call another controller/method?
#1

Suppose I have a POST operation that submits a dozen input fields to a method in one controller, foo/original_post.

Suppose in the process of trying to execute foo/original_post, some condition is detected that causes a problem and I want to pass all the submitted POST data to some method in another controller/method, say bar/some_other_method and have that other method display something entirely different based on the POST data. Is this possible?
Reply


Messages In This Thread
Is it possible for one controller/method to call another controller/method? - by sneakyimp - 07-24-2015, 03:46 PM



Theme © iAndrew 2016 - Forum software by © MyBB