mirror of
https://github.com/iv-org/invidious.git
synced 2025-12-24 22:58:30 -06:00
doc: better comments for each route
This commit is contained in:
parent
4506f04358
commit
7feab44cfc
@ -1,5 +1,5 @@
|
||||
module Invidious::Routes::Companion
|
||||
# /companion
|
||||
# GET /companion
|
||||
def self.get_companion(env)
|
||||
url = env.request.path
|
||||
if env.request.query
|
||||
@ -16,7 +16,7 @@ module Invidious::Routes::Companion
|
||||
end
|
||||
end
|
||||
|
||||
# /companion
|
||||
# POST /companion
|
||||
def self.post_companion(env)
|
||||
url = env.request.path
|
||||
if env.request.query
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user