ListController: add "add" data field

This commit is contained in:
Thomas Gelf 2015-07-03 10:53:39 +02:00
parent ee44f461ab
commit f6bf0e3158
1 changed files with 6 additions and 0 deletions

View File

@ -22,6 +22,12 @@ class Director_ListController extends ActionController
public function datafieldAction()
{
$this->view->addLink = $this->view->qlink(
$this->translate('Add'),
'director/data/addfield'
);
$this->setConfigTabs()->activate('generatedconfig');
$this->setConfigTabs()->activate('datafield');
$this->view->title = $this->translate('Data fields');
$this->view->table = $this->loadTable('datafield')->setConnection($this->db());