Skip to content

Commit d8818f1

Browse files
committed
Merge pull request #1256 from namusyaka/unify-hash-syntax
Don't use hash rocket unless there is any particular reason [ci skip]
2 parents fbf633d + 58685b4 commit d8818f1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -602,10 +602,10 @@ It also works on nested hashes:
602602
format :json
603603

604604
params do
605-
requires :user, :type => Hash do
605+
requires :user, type: Hash do
606606
requires :first_name, type: String
607607
optional :last_name, type: String
608-
requires :address, :type => Hash do
608+
requires :address, type: Hash do
609609
requires :city, type: String
610610
optional :region, type: String
611611
end

0 commit comments

Comments
 (0)