Class: HomeController

Inherits:
ApplicationController
  • Object
show all
Defined in:
app/controllers/home_controller.rb

Instance Method Summary collapse

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missingObject



7
8
9
# File 'app/controllers/home_controller.rb', line 7

def method_missing
  raise "Hello"
end

Instance Method Details

#four_zero_fourObject



3
4
5
# File 'app/controllers/home_controller.rb', line 3

def four_zero_four
  render 'four_zero_four', status: 404
end