I’m wondering which option is better; create a normal folder under controllers folder or create a module called ‘admin’ with submodules in it, such as ‘comment’ and ‘user’, and why?
Thanks.
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.
I don’t use any of the two options you mention. I have two layouts, one for the admin area and one for the public page. Using the same controller, for the admin pages (admin, create, update, etc) i set template to my admin template. For the rest, y use the other template