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

http://github.com/ridgetang/snippets · Unknown · 6 lines · 6 code · 0 blank · 0 comment · 0 complexity · 774265fc276707875e05b6a650be3ec4 MD5 · raw file

  1. #name : nested_collection_url
  2. #key : ncurl
  3. #group : rails.resources
  4. #condition : (rails/cur-res-title)
  5. # --
  6. ${1:owner}_${2:`(pluralize-string (rails/cur-res-title))`}_url(@$1)