dotar/vim/snippets/ruby-rails/defedit.snippet

4 lines
77 B
Plaintext
Raw Normal View History

2011-11-17 15:45:33 -06:00
def edit
@${1:model_class_name} = ${2:ModelClassName}.find(params[:id])
end