mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-12-14 01:14:17 +00:00
first commit of a million rails snippets, conditions missing, command implementation missing...
This commit is contained in:
10
extras/imported/rails-mode/Routes/map_resources.yasnippet
Normal file
10
extras/imported/rails-mode/Routes/map_resources.yasnippet
Normal file
@@ -0,0 +1,10 @@
|
||||
# -*- mode: snippet -*-
|
||||
# key: maprs
|
||||
# contributor: Translated from TextMate Snippet
|
||||
# name: map.resources
|
||||
## condition: "meta.rails.routes"
|
||||
# --
|
||||
${1:map}.resources :${2:resource}${10: do |${11:$2}|
|
||||
# mirror for $11
|
||||
$0
|
||||
end}
|
||||
Reference in New Issue
Block a user