소스 검색

Merge branch 'master' of github.com:dominikgrygiel/FrameworkBenchmarks into dominikgrygiel-master

Patrick Falls 12 년 전
부모
커밋
c3757fe99c
1개의 변경된 파일5개의 추가작업 그리고 2개의 파일을 삭제
  1. 5 2
      rails/app/controllers/hello_world_controller.rb

+ 5 - 2
rails/app/controllers/hello_world_controller.rb

@@ -1,4 +1,7 @@
-class HelloWorldController < ApplicationController
+class HelloWorldController < ActionController::Metal
+  include ActionController::Rendering
+  include ActionController::Renderers::All
+
   def json
     render :json => {:message => "Hello World!"}
   end
@@ -13,4 +16,4 @@ class HelloWorldController < ApplicationController
     end
     render :json => results
   end
-end
+end