PageRenderTime 102ms CodeModel.GetById 61ms app.highlight 0ms RepoModel.GetById 40ms app.codeStats 0ms

/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
1#name : prefixed_nested_resource_path(@resource)
2#key : pnpath
3#group : rails.resources
4#condition : (rails/cur-res-title)
5# --
6${1:new}_${2:owner}_${3:`(singularize-string (rails/cur-res-title))`}_path(@$2, @$3)