Class: WellKnownsController

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#well_knownObject (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

#showObject



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