module file location issue while using $foreign_keys

edited February 2016 in Modules
hi i was trying to use the $foreign_keys feature as follow

public $foreign_keys = array('continent_id' => array(FUEL_FOLDER => 'continents_model'));

but getting the error

Unable to locate the file: continents_model.php

same thing happens while i tried to use $belongs_to

the location of those modules were :

what change should i do so it can get the model path


Sign In or Register to comment.