I need use the same view for three different actions in controller. How can I render one view for all of actions? I googled but found nothing useful… And important is I use Kohana 3.0.11
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
What’s bad in creating the view in each action?
Alternatively you can store the view in your base controller in before action and access it in the child controller: