PageRenderTime 4ms CodeModel.GetById 2ms app.highlight 0ms RepoModel.GetById 1ms app.codeStats 0ms

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

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