Merge pull request #679 from andyw8/change-rails-snippet-triggers

Change Rails snippet triggers
This commit is contained in:
Louis Pilfold 2016-02-07 15:44:46 +00:00
commit 850bfc7ada

View File

@ -15,7 +15,7 @@ t.boolean :${1:title}
$0
endsnippet
snippet cla "Create controller class"
snippet clac "Create controller class"
class ${1:Model}Controller < ApplicationController
before_filter :find_${2:model}
@ -48,7 +48,7 @@ t.float :${1:title}
$0
endsnippet
snippet cla "Create functional test class"
snippet clact "Create functional test class"
require 'test_helper'
class ${1:Model}ControllerTest < ActionController::TestCase