| @@ 72-76 (lines=5) @@ | ||
| 69 | $this->createDeleteView($path); |
|
| 70 | ||
| 71 | } else { |
|
| 72 | if ($this->option('index') || $this->option('all')) { |
|
| 73 | $this->input->setOption('index', true); |
|
| 74 | $this->buildView('index', $path); |
|
| 75 | $this->createDeleteView($path); |
|
| 76 | } |
|
| 77 | ||
| 78 | if ($this->option('create') || $this->option('all')) { |
|
| 79 | $this->input->setOption('create', true); |
|
| @@ 78-81 (lines=4) @@ | ||
| 75 | $this->createDeleteView($path); |
|
| 76 | } |
|
| 77 | ||
| 78 | if ($this->option('create') || $this->option('all')) { |
|
| 79 | $this->input->setOption('create', true); |
|
| 80 | $this->buildView('create', $path); |
|
| 81 | } |
|
| 82 | ||
| 83 | if ($this->option('edit') || $this->option('all')) { |
|
| 84 | $this->input->setOption('edit', true); |
|
| @@ 83-86 (lines=4) @@ | ||
| 80 | $this->buildView('create', $path); |
|
| 81 | } |
|
| 82 | ||
| 83 | if ($this->option('edit') || $this->option('all')) { |
|
| 84 | $this->input->setOption('edit', true); |
|
| 85 | $this->buildView('edit', $path); |
|
| 86 | } |
|
| 87 | ||
| 88 | if ($this->option('show') || $this->option('all')) { |
|
| 89 | $this->input->setOption('show', true); |
|
| @@ 88-91 (lines=4) @@ | ||
| 85 | $this->buildView('edit', $path); |
|
| 86 | } |
|
| 87 | ||
| 88 | if ($this->option('show') || $this->option('all')) { |
|
| 89 | $this->input->setOption('show', true); |
|
| 90 | $this->buildView('show', $path); |
|
| 91 | } |
|
| 92 | } |
|
| 93 | ||
| 94 | } |
|