Skip to content

Commit 7a8b461

Browse files
committed
Add find(params[:id]) in controllers [fp]
1 parent bae0b9e commit 7a8b461

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

find_params_id_(fp).sublime-snippet

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<snippet>
2+
<content><![CDATA[find(params[:${1:id}])]]></content>
3+
<tabTrigger>fp</tabTrigger>
4+
<scope>meta.rails.controller</scope>
5+
<description>find(params[:id])</description>
6+
</snippet>

0 commit comments

Comments
 (0)