src/Controller.php
public function getSearch()
    {
        $q = Request::get('q');

        $translations = $this->computeSearch($q, $this->transLocales->displayLocales);
        $numTranslations = count($translations);

        return View::make($this->packagePrefix . 'search')
            ->with('controller', ManagerServiceProvider::CONTROLLER_PREFIX . get_class($this))
            ->with('userLocales', TranslationLocales::packLocales($this->transLocales->userLocales))
            ->with('package', $this->package)
            ->with('translations', $translations)
            ->with('numTranslations', $numTranslations);
    }
public function getSearch()
    {
        $q = Request::get('q');

        $translations = $this->computeSearch($q, $this->transLocales->displayLocales);
        $numTranslations = count($translations);

        return View::make($this->packagePrefix . 'search')
            ->with('controller', ManagerServiceProvider::CONTROLLER_PREFIX . get_class($this))
            ->with('userLocales', TranslationLocales::packLocales($this->transLocales->userLocales))
            ->with('package', $this->package)
            ->with('translations', $translations)
            ->with('numTranslations', $numTranslations);
    }
/*
Standard WEB UI - API, not REST