Commit ff81a59c authored by Tibor Katelbach's avatar Tibor Katelbach
Browse files

refactor to FormController getAction

parent c1a6473a
......@@ -11,6 +11,7 @@
return array(
'create' => 'survey.controllers.openForm.CreateAction',
'edit'=> 'survey.controllers.openForm.EditAction',
'get' => 'survey.controllers.openForm.GetAction',
);
}
}
<?php
class OformsAction extends CTKAction
class GetAction extends CTKAction
{
//if $slug : getd all the forms for an element.slug
//if $id : opens the forms
......
......@@ -187,5 +187,5 @@ var oformParams = {
}
}
};
//use id type
</script>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment