public function asset($path, $secure = null, $version = false)
    {

        if (!$this->theme) throw new ThemeException('Theme should be init first');

        $full_path = $this->_assetFullpath($path);

        $asset = $this->app['url']->asset($full_path, $secure);

        if ($version) {

            if (is_bool($version)) {
                $asset .= '?v=' . $this->_assetVersion($path);
            } else {
                $asset .= '?v=' . $version;
            }
        }

        return $asset;

    }