PageRenderTime 188ms CodeModel.GetById 84ms app.highlight 1ms RepoModel.GetById 43ms app.codeStats 0ms

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

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