mirror of
https://github.com/joaotavora/yasnippet.git
synced 2026-02-05 23:12:26 +00:00
tweaking rails snippets slightly
This commit is contained in:
@@ -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 )))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user