Skip to content

Commit 7de6eb6

Browse files
committed
Remove dead oauth reference
1 parent 944bbbb commit 7de6eb6

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

config/routes.rb

+1-6
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,7 @@
22

33
ApiDocServer::Engine.routes.draw do
44
scope format: false do
5-
resources :docs, path: '/', only: %i(index show) do
6-
collection do
7-
get 'oauth2', to: 'docs#oauth2', format: false
8-
end
9-
end
10-
5+
resources :docs, path: '/', only: %i(index show)
116
root to: 'docs#index'
127
end
138
end

0 commit comments

Comments
 (0)