Reuse existing controller and route
This commit is contained in:
@ -1,4 +1,5 @@
|
||||
# Be sure to restart your server when you modify this file.
|
||||
|
||||
Mime::Type.register "application/json", :json, %w( text/x-json application/jsonrequest application/jrd+json )
|
||||
Mime::Type.register "text/xml", :xml, %w( application/xml application/atom+xml application/xrd+xml )
|
||||
Mime::Type.register "application/json", :json, %w( text/x-json application/jsonrequest application/jrd+json )
|
||||
Mime::Type.register "text/xml", :xml, %w( application/xml application/atom+xml application/xrd+xml )
|
||||
Mime::Type.register "application/activity+json", :activitystreams2
|
||||
|
@ -153,10 +153,6 @@ Rails.application.routes.draw do
|
||||
end
|
||||
end
|
||||
|
||||
namespace :activitypub do
|
||||
resources :accounts, only: [:show]
|
||||
end
|
||||
|
||||
namespace :web do
|
||||
resource :settings, only: [:update]
|
||||
end
|
||||
|
Reference in New Issue
Block a user