Simplified if statement

This commit is contained in:
Elliot Hesp
2014-11-27 20:15:37 +00:00
parent 954f9cf65e
commit 557e24ade1

View File

@@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>{{ isset($pageTitle) ? $pageTitle : Setting::get('app_name') }} | Cachet</title>
<title>{{ isset($pageTitle) ?: Setting::get('app_name') }} | Cachet</title>
<!-- Set the viewport width to device width for mobile -->
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="author" content="http://james-brooks.uk">