PageRenderTime 122ms CodeModel.GetById 81ms app.highlight 0ms RepoModel.GetById 40ms app.codeStats 0ms

/ruby-mode/Ruby on Rails/Resources/resources.npath

http://github.com/ridgetang/snippets
Unknown | 6 lines | 6 code | 0 blank | 0 comment | 0 complexity | d2380f73534432ec2012ed82aee83836 MD5 | raw file
1#name : nested_resource_path(@resource)
2#key : npath
3#group : rails.resources
4#condition : (rails/cur-res-title)
5# --
6${1:owner}_${2:`(singularize-string (rails/cur-res-title))`}_path(@$1, @$2)