Commit cf7b554d authored by mgabdev's avatar mgabdev

Removed unused well_known routes from ruby

• Removed:
- unused well_known routes from ruby
parent 0526e546
# frozen_string_literal: true
module WellKnown
class HostMetaController < ActionController::Base
def show
raise GabSocial::NotPermittedError
end
end
end
# frozen_string_literal: true
module WellKnown
class KeybaseProofConfigController < ActionController::Base
def show
render json: {}, status: 404
end
end
end
# frozen_string_literal: true
module WellKnown
class WebfingerController < ActionController::Base
def show
raise GabSocial::NotPermittedError
end
end
end
......@@ -22,10 +22,7 @@ Rails.application.routes.draw do
tokens: 'oauth/tokens'
end
get '.well-known/host-meta', to: 'well_known/host_meta#show', as: :host_meta
get '.well-known/webfinger', to: 'well_known/webfinger#show', as: :webfinger
get '.well-known/change-password', to: redirect('/auth/edit')
get '.well-known/keybase-proof-config', to: 'well_known/keybase_proof_config#show'
get 'manifest', to: 'manifests#show', defaults: { format: 'json' }
get 'intent', to: 'intents#show'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment