Merge pull request #679 from andyw8/change-rails-snippet-triggers
Change Rails snippet triggers
This commit is contained in:
commit
850bfc7ada
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user