Skip to content

Commit 33fa992

Browse files
committed
Fix warning on rails routes CONTROLLER=
1 parent 9fe1812 commit 33fa992

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

autoload/rails.vim

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1676,6 +1676,7 @@ function! s:Rails(bang, count, arg) abort
16761676
elseif rails#buffer().name() =~# '^\%(app\|config\|db\|lib\|log\|README\|Rakefile\|test\|spec\|features\)'
16771677
let str = rails#buffer().default_rake_task(a:count)
16781678
let str = s:gsub(str, '<TEST\w*\=', '')
1679+
let str = s:gsub(str, '<CONTROLLER\=', '-c ')
16791680
if str ==# '--tasks'
16801681
let str = ''
16811682
else

0 commit comments

Comments
 (0)