<?php

Route::group ( [ 
		'prefix' => 'admin',
		'middleware' => 'web' 
], function () {	
	Route::group ( [
			'prefix' => 'wysiwyg',
			'namespace' => 'Rvsitebuilder\Wysiwyg\Http\Controllers\Backend',
			'middleware' => 'admin'
	], function () {
		Route::group ( [ 
			'prefix' => 'widget',			
		], function () {
			Route::get ( '/getsocialwidget', [ 
					'as' => 'admin.wysiwyg.widget.getsocialwidget',
					'uses' => 'SocialWidgetController@getsocialwidget' 
			] );
			Route::get ( '/getsocialwidgetFooter', [
			    'as' => 'admin.wysiwyg.widget.getsocialwidget',
			    'uses' => 'SocialWidgetController@getsocialwidgetFooter'
			] );
			
			Route::get ( '/applysocialbutton', [
			    'as' => 'admin.wysiwyg.widget.applysocialbutton',
			    'uses' => 'SocialWidgetController@applysocialbutton'
			] );	
		
		} );
	} );		
} );