Fix bad message output

This commit is contained in:
James Brooks
2015-06-15 20:30:35 +01:00
parent f867d22b96
commit 2669d4330e
6 changed files with 30 additions and 30 deletions

View File

@@ -127,7 +127,7 @@ class ComponentController extends AbstractController
return Redirect::back()->withInput(Binput::all())
->with('title', sprintf(
'%s - %s',
'%s %s',
trans('dashboard.notifications.whoops'),
trans('dashboard.components.edit.failure')
))
@@ -152,7 +152,7 @@ class ComponentController extends AbstractController
$component->tags()->sync($componentTags);
$successMsg = sprintf(
'%s - %s',
'%s %s',
trans('dashboard.notifications.awesome'),
trans('dashboard.components.edit.success')
);
@@ -196,7 +196,7 @@ class ComponentController extends AbstractController
return Redirect::back()->withInput(Binput::all())
->with('title', sprintf(
'%s - %s',
'%s %s',
trans('dashboard.notifications.whoops'),
trans('dashboard.components.add.failure')
))
@@ -221,7 +221,7 @@ class ComponentController extends AbstractController
$component->tags()->sync($componentTags);
$successMsg = sprintf(
'%s - %s',
'%s %s',
trans('dashboard.notifications.awesome'),
trans('dashboard.components.add.success')
);
@@ -315,7 +315,7 @@ class ComponentController extends AbstractController
return Redirect::back()->withInput(Binput::all())
->with('title', sprintf(
'%s - %s',
'%s %s',
trans('dashboard.notifications.whoops'),
trans('dashboard.components.groups.add.failure')
))
@@ -328,7 +328,7 @@ class ComponentController extends AbstractController
]);
$successMsg = sprintf(
'%s - %s',
'%s %s',
trans('dashboard.notifications.awesome'),
trans('dashboard.components.groups.add.success')
);
@@ -356,7 +356,7 @@ class ComponentController extends AbstractController
return Redirect::back()->withInput(Binput::all())
->with('title', sprintf(
'%s - %s',
'%s %s',
trans('dashboard.notifications.whoops'),
trans('dashboard.components.groups.edit.failure')
))
@@ -369,7 +369,7 @@ class ComponentController extends AbstractController
]);
$successMsg = sprintf(
'%s - %s',
'%s %s',
trans('dashboard.notifications.awesome'),
trans('dashboard.components.groups.edit.success')
);