Merge branch '1.1'

This commit is contained in:
Graham Campbell 2015-08-03 21:07:31 +01:00
commit 5ce767dccc
2 changed files with 4 additions and 4 deletions

View File

@ -215,7 +215,7 @@ class IncidentController extends AbstractController
return Redirect::back()->withInput(Binput::all())
->with('title', sprintf(
'%s %s',
trans('dashboard.notifications.awesome'),
trans('dashboard.notifications.whoops'),
trans('dashboard.incidents.templates.add.failure')
))
->with('errors', $template->getErrors());
@ -289,7 +289,7 @@ class IncidentController extends AbstractController
return Redirect::back()->withInput(Binput::all())
->with('title', sprintf(
'%s %s',
trans('dashboard.notifications.awesome'),
trans('dashboard.notifications.whoops'),
trans('dashboard.incidents.templates.edit.failure')
))
->with('errors', $incident->getErrors());

View File

@ -116,7 +116,7 @@ class MetricController extends AbstractController
return Redirect::back()->withInput(Binput::all())
->with('title', sprintf(
'%s %s',
trans('dashboard.notifications.awesome'),
trans('dashboard.notifications.whoops'),
trans('dashboard.metrics.points.add.failure')
))
->with('errors', $point->getErrors());
@ -176,7 +176,7 @@ class MetricController extends AbstractController
return Redirect::back()->withInput(Binput::all())
->with('title', sprintf(
'<strong>%s</strong>',
trans('dashboard.notifications.awesome')
trans('dashboard.notifications.whoops')
))
->with('errors', $metric->getErrors());
}