Creating meta tag with user token

parent 4922747b
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
</title> </title>
<meta id="token" name="token" value="{{ csrf_token() }}" /> <meta id="token" name="token" value="{{ csrf_token() }}" />
<meta name="csrf-token" content="{{ csrf_token() }}"> <meta name="csrf-token" content="{{ csrf_token() }}">
<meta name="user-api-token" content="{{ $currentUser->getFirstApiKey() }}">
<meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'> <meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'>
@foreach($cssFiles as $css) @foreach($cssFiles as $css)
<link media="all" type="text/css" rel="stylesheet" href="{{ URL::asset($css) }}"> <link media="all" type="text/css" rel="stylesheet" href="{{ URL::asset($css) }}">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment