protected function registerAssetsRoutes()
	{
		# CKEditor file listing and upload
		$this->laravelRouter->group([
			'before'    => $this->getBeforeFilters(),
			'prefix'    => 'images',
			'namespace' => 'SleepingOwl\Admin\Controllers'
		], function ()
		{
			$this->laravelRouter->get('all', 'ImagesController@getAll');
			$this->laravelRouter->post('upload', 'ImagesController@postUpload');
		});
		$this->laravelRouter->get('js/{locale}/lang.js', [
			'prefix' => $this->prefix,
			'as'     => $this->routePrefix . '.lang',
			'uses'   => 'SleepingOwl\Admin\Controllers\LangController@getAll'
		]);
	}
protected function registerAssetsRoutes()
	{
		# CKEditor file listing and upload
		$this->laravelRouter->group([
			'before'    => $this->getBeforeFilters(),
			'prefix'    => 'images',
			'namespace' => 'SleepingOwl\Admin\Controllers'
		], function ()
		{
			$this->laravelRouter->get('all', 'ImagesController@getAll');
			$this->laravelRouter->post('upload', 'ImagesController@postUpload');
		});
		$this->laravelRouter->get('js/{locale}/lang.js', [
			'prefix' => $this->prefix,
			'as'     => $this->routePrefix . '.lang',
			'uses'   => 'SleepingOwl\Admin\Controllers\LangController@getAll'
		]);
	}
protected function registerAssetsRoutes ( ) { # CKEditor file listing and upload $ this -> laravelRouter -> group ( [ 'before' => $ this -> getBeforeFilters ( ) , 'prefix' => 'images' , 'namespace' => 'SleepingOwl\Admin\Controllers' ] , function ( ) { $ this -> laravelRouter -> get ( 'all' , 'ImagesController@getAll' ) ; $ this -> laravelRouter -> post ( 'upload' , 'ImagesController@postUpload' ) ; } ) ; $ this -> laravelRouter -> get ( 'js/{locale}/lang.js' , [ 'prefix' => $ this -> prefix , 'as' => $ this -> routePrefix . '.lang' , 'uses' => 'SleepingOwl\Admin\Controllers\LangController@getAll' ] ) ; }
Register routes to admin assets
Register routes to admin assets