php - Controller can't find requested when calling a standard action in Yii 1.x -
While trying to execute a standard Yii action, I am getting an exception, that the HotelController Can not find the requested view
hotellist
My Controller Code (Important part):
class extends Hotel Controller {public $ defaultAction = 'HotelList'; Public Function ActionHotel List () {$ Models = New HotelRev; $ This- & gt; Render ('Hotlist', array ('model' =>);); }} Am I doing wrong or wrong? I got the problem - The first letter of the directory created in the protected / view is a capital letter (on Linux system).
If view / hotels make them view / hotels
Comments
Post a Comment