getPath($path, true); return Url::asset($skinPath); } /** * Create a new redirect response to a given backend path. */ public function redirect($path, $status = 302, $headers = [], $secure = null) { $backendUri = Config::get('cms.backendUri'); return Redirect::to($backendUri . '/' . $path, $status, $headers, $secure); } /** * Create a new backend redirect response, while putting the current URL in the session. */ public function redirectGuest($path, $status = 302, $headers = [], $secure = null) { $backendUri = Config::get('cms.backendUri'); return Redirect::guest($backendUri . '/' . $path, $status, $headers, $secure); } /** * Create a new redirect response to the previously intended backend location. */ public function redirectIntended($path, $status = 302, $headers = [], $secure = null) { $backendUri = Config::get('cms.backendUri'); return Redirect::intended($backendUri . '/' . $path, $status, $headers, $secure); } }