Exemplo n.º 1
0
 /**
  * @inheritdoc
  */
 public function index()
 {
     $group = \Input::get('group');
     if ($group) {
         $this->data['blocks'] = $this->repository->getByGroup($group);
     } else {
         $group = \Lang::get("pageblok::blocks.please.select");
     }
     $this->data['groups'] = $this->groups;
     $this->data['selectedGroup'] = ucfirst($group);
     return parent::index();
 }