@@ -62,6 +62,9 @@ |
||
| 62 | 62 | return !$this->isNew(); |
| 63 | 63 | } |
| 64 | 64 | |
| 65 | + /** |
|
| 66 | + * @param string $action |
|
| 67 | + */ |
|
| 65 | 68 | public function path($action = null) { |
| 66 | 69 | $class = get_called_class(); |
| 67 | 70 | $path = $this->isNew() ? $class::element_name_plural() : $class::element_name_plural()."/".$this->_attributes['id']; |