0

I want to call a controller method from my view passing some values from the view to the controller method. How can i collect those values and pass them to the controller method and call the method?

1
  • at MVC architecture is not a good practice to call a Controller function from a view. Commented May 25, 2011 at 19:26

1 Answer 1

1

Put the Controller function you are calling in a helper

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.