Przeglądaj źródła

verify Fixed rails' json test

Mike Smith 11 lat temu
rodzic
commit
0f87c5962a
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      rails/app/controllers/hello_world_controller.rb

+ 1 - 1
rails/app/controllers/hello_world_controller.rb

@@ -1,7 +1,7 @@
 class HelloWorldController < ApplicationController
 
   def json
-    render :json => {:message => "Hello World!"}
+    render :json => {:message => "Hello, World!"}
   end
 
   def db