Permalink
Browse files

Fix

  • Loading branch information...
1 parent f4bc878 commit ea43203673b9ef17a9973957f6cabd84b437f823 @edtsech committed Mar 27, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 plugin/railsapi.vim
View
@@ -1,7 +1,7 @@
let g:browser = 'open '
-function! OpenRailsApi
+function! OpenRailsApi()
exec '!'.g:browser.' "http://railsapi.com/doc/rails-v3.0.4/?q='.expand('<cword>').'" &'
endfunction
-noremap <Leader>ra :call OpenUrl()<CR>
+noremap <Leader>ra :call OpenRailsApi()<CR>

0 comments on commit ea43203

Please sign in to comment.