/ruby-mode/Ruby on Rails/Resources/resources.pnpath
http://github.com/ridgetang/snippets · Unknown · 6 lines · 6 code · 0 blank · 0 comment · 0 complexity · 6e3dc4c941808c8bea8103627f69b54e MD5 · raw file
- #name : prefixed_nested_resource_path(@resource)
- #key : pnpath
- #group : rails.resources
- #condition : (rails/cur-res-title)
- # --
- ${1:new}_${2:owner}_${3:`(singularize-string (rails/cur-res-title))`}_path(@$2, @$3)