tweaking rails snippets slightly

This commit is contained in:
capitaomorte
2010-03-30 14:31:33 +00:00
parent 485f34921b
commit ba638c28a1
2 changed files with 11 additions and 5 deletions

View File

@@ -4,4 +4,8 @@
# name: Go to Controller
# binding: C-c g c
# --
(call-interactively (find-file (concat (yas/rails-root) "/app/controllers")))
(if (featurep 'rinari)
(call-interactively 'rinari-find-controller)
(let ((default-directory (concat (yas/rails-root) "/app/controllers/")))
(call-interactively 'find-file )))