Sha256: 491f69bd136565e9f51e6204be4372ab769952a614d09f2af4b0634ac3e12b66

Contents?: true

Size: 277 Bytes

Versions: 44

Compression:

Stored size: 277 Bytes

Contents

class HostMetaController < ActionController::Metal
  include ActionController::Redirecting
  include Rails.application.routes.url_helpers

  def index
    self.response_body = Proudhon::HostMeta.to_xml("#{ webfinger_url }?q={uri}")
    self.content_type  = Mime::XML
  end
end

Version data entries

44 entries across 44 versions & 2 rubygems

Version Path
social_stream-2.2.2 ostatus/app/controllers/host_meta_controller.rb
social_stream-ostatus-2.2.1 app/controllers/host_meta_controller.rb
social_stream-2.2.1 ostatus/app/controllers/host_meta_controller.rb
social_stream-2.2.0 ostatus/app/controllers/host_meta_controller.rb
social_stream-ostatus-2.2.0 app/controllers/host_meta_controller.rb
social_stream-2.1.1 ostatus/app/controllers/host_meta_controller.rb
social_stream-1.1.12 ostatus/app/controllers/host_meta_controller.rb
social_stream-2.1.0 ostatus/app/controllers/host_meta_controller.rb
social_stream-ostatus-2.1.0 app/controllers/host_meta_controller.rb
social_stream-2.0.4 ostatus/app/controllers/host_meta_controller.rb
social_stream-2.0.3 ostatus/app/controllers/host_meta_controller.rb
social_stream-1.1.11 ostatus/app/controllers/host_meta_controller.rb
social_stream-1.1.10 ostatus/app/controllers/host_meta_controller.rb
social_stream-1.1.9 ostatus/app/controllers/host_meta_controller.rb
social_stream-ostatus-1.1.1 app/controllers/host_meta_controller.rb
social_stream-1.1.8 ostatus/app/controllers/host_meta_controller.rb
social_stream-2.0.2 ostatus/app/controllers/host_meta_controller.rb
social_stream-2.0.1 ostatus/app/controllers/host_meta_controller.rb
social_stream-2.0.0 ostatus/app/controllers/host_meta_controller.rb
social_stream-ostatus-2.0.0 app/controllers/host_meta_controller.rb