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

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

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