diff --git a/app/Http/Controllers/ProposalSnippetController.php b/app/Http/Controllers/ProposalSnippetController.php index 24a1aae216..79238f804c 100644 --- a/app/Http/Controllers/ProposalSnippetController.php +++ b/app/Http/Controllers/ProposalSnippetController.php @@ -127,7 +127,7 @@ class ProposalSnippetController extends BaseController Session::flash('message', $message); } - return redirect()->to('/proposal_snippets'); + return redirect()->to('/proposals/snippets'); } private function getIcons() { diff --git a/resources/views/proposals/grapesjs.blade.php b/resources/views/proposals/grapesjs.blade.php index fc539a898d..d6d5584526 100644 --- a/resources/views/proposals/grapesjs.blade.php +++ b/resources/views/proposals/grapesjs.blade.php @@ -27,7 +27,7 @@ $(function() { style: '{!! $snippet->css !!}', attributes: { title: '{!! $snippet->private_notes !!}', - class:'fa fa-{!! $snippet->icon ?: 'book' !!}' + class:'fa fa-{!! $snippet->icon ?: 'font' !!}' } }); @endforeach diff --git a/routes/web.php b/routes/web.php index 2416309743..4ef849abb7 100644 --- a/routes/web.php +++ b/routes/web.php @@ -225,7 +225,7 @@ Route::group(['middleware' => ['lookup:user', 'auth:user']], function () { Route::resource('proposals/templates', 'ProposalTemplateController'); Route::get('api/proposal_templates', 'ProposalTemplateController@getDatatable'); - Route::post('proposals/proposals/bulk', 'ProposalController@bulk'); + Route::post('proposals/bulk', 'ProposalController@bulk'); Route::get('proposals/{proposals}/edit', 'ProposalController@edit'); Route::get('proposals/create/{invoice_id?}/{proposal_template_id?}', 'ProposalController@create'); Route::resource('proposals', 'ProposalController');