Exemplo n.º 1
0
 public function editDuty(Duty $duty)
 {
     $this->layout->title = 'Edit Duty';
     $worker_opt = Worker::getWorkerOptions();
     $this->layout->main = View::make('admin.dashboard')->nest('content', 'duties.edit', compact('duty', 'worker_opt'));
 }
Exemplo n.º 2
0
 public function editCard(Card $card)
 {
     $this->layout->title = trans('messages.Edit') . ' ' . Lang::choice('messages.Cards', 1);
     $worker_opt = Worker::getWorkerOptions();
     $this->layout->main = View::make('users.dashboard')->nest('content', 'cards.edit', compact('card', 'worker_opt'));
 }