PageRenderTime 26ms CodeModel.GetById 23ms RepoModel.GetById 1ms app.codeStats 0ms

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

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