I am an absolute newbie in the world of Yii and MVC. My question is : Say if I have made a CRUD of some model and I have modified the "_form.php" partial to be used from some place else, for example a comment form which is used from the "post" view, and for example if my link for the creation of comment is :
http://localhost/example/comment/create
How do I stop this page from being accessed and only be called from the view of the "posts" page only?
Would I have to use RBAC for this? Is there any other method? Using "GET" methods maybe?