Skip to content

Commit b7d5842

Browse files
author
j10io
committed
Spelling mistake
1 parent 37b1620 commit b7d5842

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Rails/rua.rails-restful-update-action.sublime-snippet

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<content><![CDATA[def update
33
@${1:object} = ${2:Object}.find(${3:params[:id]})
44
if @${1:object}.update_attributes(params[:${1:object}])
5-
flash[:success] = "${2:Object} was successfuly updated"
5+
flash[:success] = "${2:Object} was successfully updated"
66
redirect_to @${1:object}
77
else
88
flash[:error] = "Something went wrong"
@@ -13,4 +13,4 @@ end
1313
<tabTrigger>rua</tabTrigger>
1414
<scope>source.ruby.rails</scope>
1515
<description>Rails Restful Update Action</description>
16-
</snippet>
16+
</snippet>

0 commit comments

Comments
 (0)