PageRenderTime 3ms CodeModel.GetById 1ms app.highlight 0ms RepoModel.GetById 1ms app.codeStats 0ms

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

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