Skip to content

Commit

Permalink
Add Blade @csrf and @method directives
Browse files Browse the repository at this point in the history
  • Loading branch information
patricksamson committed Dec 18, 2017
1 parent d3bca51 commit 31b6e4b
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
8 changes: 8 additions & 0 deletions snippets/Blade/Blade-csrf.sublime-snippet
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<snippet>
<content><![CDATA[
@csrf
]]></content>
<tabTrigger>Blade::csrf</tabTrigger>
<scope>text.blade</scope>
<description>Blade @csrf</description>
</snippet>
8 changes: 8 additions & 0 deletions snippets/Blade/Blade-method.sublime-snippet
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<snippet>
<content><![CDATA[
@method('${1:post}')
]]></content>
<tabTrigger>Blade::method</tabTrigger>
<scope>text.blade</scope>
<description>Blade @method</description>
</snippet>

0 comments on commit 31b6e4b

Please sign in to comment.