Browse Source

[rails] Remove unused actions (#8482)

Plaintext and Json are handled by custom controllers now.
Petrik de Heus 1 year ago
parent
commit
f588ff65ca
1 changed files with 0 additions and 8 deletions
  1. 0 8
      frameworks/Ruby/rails/app/controllers/hello_world_controller.rb

+ 0 - 8
frameworks/Ruby/rails/app/controllers/hello_world_controller.rb

@@ -6,14 +6,6 @@ class HelloWorldController < ApplicationController
   MIN_QUERIES = 1            # min number of records that can be retrieved
   MAX_QUERIES = 500          # max number of records that can be retrieved
 
-  def plaintext
-    render plain: 'Hello, World!'
-  end
-
-  def json
-    render json: JSON.generate({message: 'Hello, World!'})
-  end
-
   def db
     render json: World.find(random_id)
   end