/ruby-mode/Ruby on Rails/Resources/resources.path
http://github.com/ridgetang/snippets · Systemd · 6 lines · 6 code · 0 blank · 0 comment · 0 complexity · 91f94340eb095478dd9f58faffe5bf54 MD5 · raw file
- #name : resource_path(@resource)
- #key : path
- #group : rails.resources
- #condition : (rails/cur-res-title)
- # --
- ${1:`(singularize-string (rails/cur-res-title))`}_path(@$1)