We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 37b1620 commit b7d5842Copy full SHA for b7d5842
Rails/rua.rails-restful-update-action.sublime-snippet
@@ -2,7 +2,7 @@
2
<content><![CDATA[def update
3
@${1:object} = ${2:Object}.find(${3:params[:id]})
4
if @${1:object}.update_attributes(params[:${1:object}])
5
- flash[:success] = "${2:Object} was successfuly updated"
+ flash[:success] = "${2:Object} was successfully updated"
6
redirect_to @${1:object}
7
else
8
flash[:error] = "Something went wrong"
@@ -13,4 +13,4 @@ end
13
<tabTrigger>rua</tabTrigger>
14
<scope>source.ruby.rails</scope>
15
<description>Rails Restful Update Action</description>
16
-</snippet>
+</snippet>
0 commit comments