Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

minor tweak to rinari-find-view schema

  • Loading branch information...
commit 0d4aaf026152ff98371e32ddfb893971b514e691 1 parent 2e7c50d
@eschulte eschulte authored
Showing with 5 additions and 1 deletion.
  1. +4 −0 TODO
  2. +1 −1  rinari.el
View
4 TODO
@@ -79,6 +79,10 @@ comp-buffer-name) (let* ... ...)) comp-buffer-name)
need to add =git submodule init; git submodule update= to clone the
submodules as well
+* TODO updates to finders
+when finding a view from a controller if there is no method name, then
+select from that controller's directory.
+
* PARTIAL bundles
** DONE rhtml (from original rinari)
see
View
2  rinari.el
@@ -379,7 +379,7 @@ renders and redirects to find the final controller or view."
(string-match "#\\(.*\\)" raw-method)
(match-string 1 raw-method))))
(if (and file method) (rinari-follow-controller-and-action file method))))
- . "app/views/\\1/\\2\\..*")
+ . "app/views/\\1/\\2.*")
("app/helpers/\\1_helper.rb" . "app/views/\\1/.*")
("db/migrate/.*create_\\1.rb" . "app/views/\\1/.*")
("spec/models/\\1_spec.rb" . "app/views/\\1/.*")
Please sign in to comment.
Something went wrong with that request. Please try again.