Browse Source

Trivial change to Moonshine framework

Zane Kansil 10 years ago
parent
commit
b9c1c6034c
1 changed files with 2 additions and 2 deletions
  1. 2 2
      frameworks/Crystal/moonshine/server.cr

+ 2 - 2
frameworks/Crystal/moonshine/server.cr

@@ -104,9 +104,9 @@ app.get "/redis/fortunes", do |request|
   }
   }
   data.push(additional_fortune)
   data.push(additional_fortune)
 
 
-  data.sort! { |a, b|
+  data.sort! do |a, b|
     a[:message].to_s <=> b[:message].to_s
     a[:message].to_s <=> b[:message].to_s
-  }
+  end
 
 
   # New builder for each request!
   # New builder for each request!
   html = HTML::Builder.new.build do
   html = HTML::Builder.new.build do