Skip to content

Commit b07208e

Browse files
committed
Clearer error on failure to find view
References tpope#436
1 parent a16b178 commit b07208e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

autoload/rails.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2946,7 +2946,7 @@ function! s:viewEdit(cmd, ...) abort
29462946
endif
29472947
return s:edit(a:cmd, file.djump)
29482948
else
2949-
return s:open(a:cmd, view)
2949+
return s:open(a:cmd, 'app/views/'.view)
29502950
endif
29512951
endfunction
29522952

0 commit comments

Comments
 (0)