private function prepareResourceControllerName()
{
$parts = explode('_', $this->controller);
if (in_array($this->action, array('index', 'create'))) {
$suffix = array_pop($parts);
} else {
$suffix = Inflector::singularize(array_pop($parts));
}
$parts[] = $suffix;
return implode('_', $parts);
}