mirror of
https://github.com/SrIzan10/hc-harbor.git
synced 2026-05-01 10:45:21 +00:00
Add HCA signin (#684)
This commit is contained in:
@@ -11,6 +11,6 @@
|
||||
# end
|
||||
|
||||
# These inflection rules are supported but not enabled by default:
|
||||
# ActiveSupport::Inflector.inflections(:en) do |inflect|
|
||||
# inflect.acronym "RESTful"
|
||||
# end
|
||||
ActiveSupport::Inflector.inflections(:en) do |inflect|
|
||||
inflect.acronym "HCA"
|
||||
end
|
||||
|
||||
@@ -74,8 +74,10 @@ Rails.application.routes.draw do
|
||||
get "/what-is-hackatime", to: "static_pages#what_is_hackatime"
|
||||
|
||||
# Auth routes
|
||||
get "/auth/slack", to: "sessions#new", as: :slack_auth
|
||||
get "/auth/slack/callback", to: "sessions#create"
|
||||
get "/auth/hca", to: "sessions#hca_new", as: :hca_auth
|
||||
get "/auth/hca/callback", to: "sessions#hca_create"
|
||||
get "/auth/slack", to: "sessions#slack_new", as: :slack_auth
|
||||
get "/auth/slack/callback", to: "sessions#slack_create"
|
||||
get "/auth/github", to: "sessions#github_new", as: :github_auth
|
||||
get "/auth/github/callback", to: "sessions#github_create"
|
||||
delete "/auth/github/unlink", to: "sessions#github_unlink", as: :github_unlink
|
||||
|
||||
Reference in New Issue
Block a user