protected function registerViewNamespace()
    {
        $viewPath = __DIR__ . '/../../views';
        $this->loadViewsFrom($viewPath, 'fluxbb');

        // Add another namespace for localized mail templates
        $locale = $this->app['config']['app.locale'];
        $mailPath = __DIR__ . '/../../lang/' . $locale . '/mail/';
        $this->loadViewsFrom($mailPath, 'fluxbb:mail');
    }