blob: 292bc854c8eabae4adab432f077be0e588a22479 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
class GithubsController < ApplicationController
skip_before_action :verify_authenticity_token
# After installation callback
def show
# TODO:: exchange code for a user access token
# https://docs.github.com/en/developers/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps#2-users-are-redirected-back-to-your-site-by-github
end
# web hooks
def create
head :no_content
end
end
|