Skip to content

Commit

Permalink
Merge pull request #17 from rishirajpurohit/feature
Browse files Browse the repository at this point in the history
Adding two snippets in routes : GET and POST.
  • Loading branch information
patricksamson authored Jul 20, 2016
2 parents 98112c6 + 43a32d0 commit f7ba0c9
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
10 changes: 10 additions & 0 deletions snippets/Route/Route-get.sublime-snippet.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<snippet>
<content><![CDATA[
Route::get('${2:users/{id\}}', function(${3:$id}) {
${4://}
});
]]></content>
<tabTrigger>Route::get</tabTrigger>
<scope>source.php</scope>
<description>Basic Get Route.</description>
</snippet>
10 changes: 10 additions & 0 deletions snippets/Route/Router-post.sublime-snippet
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<snippet>
<content><![CDATA[
Route::post('${2:users/{id\}}', function(${3:$id}) {
${4://}
});
]]></content>
<tabTrigger>Route::post</tabTrigger>
<scope>source.php</scope>
<description>Basic Post Route.</description>
</snippet>

0 comments on commit f7ba0c9

Please sign in to comment.