PageRenderTime 7ms CodeModel.GetById 2ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 1ms

/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)