Class: WellKnownsController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- WellKnownsController
- Defined in:
- app/controllers/well_knowns_controller.rb
Instance Attribute Summary collapse
-
#well_known ⇒ Object
readonly
Returns the value of attribute well_known.
Instance Method Summary collapse
Instance Attribute Details
#well_known ⇒ Object (readonly)
Returns the value of attribute well_known.
6 7 8 |
# File 'app/controllers/well_knowns_controller.rb', line 6 def well_known @well_known end |
Instance Method Details
#show ⇒ Object
8 9 10 11 12 13 14 |
# File 'app/controllers/well_knowns_controller.rb', line 8 def show if well_known.present? render renderable: @well_known else head :not_found end end |