PageRenderTime 98ms CodeModel.GetById 94ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

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

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