Class: HomeController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- HomeController
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_missing ⇒ Object
7
8
9
|
# File 'app/controllers/home_controller.rb', line 7
def method_missing
raise "Hello"
end
|
Instance Method Details
#four_zero_four ⇒ Object
3
4
5
|
# File 'app/controllers/home_controller.rb', line 3
def four_zero_four
render 'four_zero_four', status: 404
end
|