Permalink
Browse files

include rails-refactoring-source-extensions into ffip-regexp

  • Loading branch information...
1 parent 24cb58b commit 7d440780572ed4e85106470a7a819621cd686632 @remvee remvee committed Mar 24, 2010
Showing with 3 additions and 1 deletion.
  1. +3 −1 rails.el
View
4 rails.el
@@ -490,7 +490,9 @@ necessary."
(set (make-local-variable 'ffip-project-root) (rails-project:root))
(set (make-local-variable 'ffip-regexp)
(concat ".*\\(" (rails-core:regex-for-match-view)
- "\\|" (mapconcat #'car rails-auto-mode-alist "\\|") "\\)"))
+ "\\|" (mapconcat #'car rails-auto-mode-alist "\\|")
+ "\\|" (mapconcat (lambda (ext) (concat "\\." ext "$")) rails-refactoring-source-extensions "\\|")
+ "\\)"))
(rails-features:install))
;; hooks

0 comments on commit 7d44078

Please sign in to comment.