We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 30a5719 commit cb188c6Copy full SHA for cb188c6
after/syntax/ruby/rails.vim
@@ -83,7 +83,7 @@ endif
83
84
if s:path =~# '/app/controllers/.*\.rb$'
85
syn keyword rubyHelper params request response session headers cookies flash
86
- syn keyword rubyMacro protect_from_forgery
+ syn keyword rubyMacro protect_from_forgery skip_forgery_protection
87
syn match rubyMacro '\<respond_to\>\ze[( ] *[:*]'
88
syn match rubyResponse '\<respond_to\>\ze[( ] *\%([&{]\|do\>\)'
89
syn keyword rubyResponse render head redirect_to redirect_back respond_with send_data send_file
0 commit comments