Skip to content

Commit

Permalink
Safe to bump to Rails 7.0 after testing, released new version
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric-Guo committed Nov 12, 2023
1 parent 0ac0d94 commit 3b004cb
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 119 deletions.
2 changes: 1 addition & 1 deletion app/controllers/homeland_sso_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ def sso

# 最后将准备好的信息计算成加密的 URL Query String 并跳转到 Homeland 应用的 SSO 登录地址 '/auth/sso/login'
# Homeland 接收到信息以后,将会实现同步账号登陆的流程
redirect_to sso.to_url(Rails.application.credentials[Rails.env.to_sym][:homeland_url])
redirect_to sso.to_url(Rails.application.credentials[Rails.env.to_sym][:homeland_url]), allow_other_host: true
end
end
2 changes: 1 addition & 1 deletion config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
module Oauth2id
class Application < Rails::Application
# Initialize configuration defaults for originally generated Rails version.
config.load_defaults 7.1
config.load_defaults 7.0

# Please, add to the `ignore` list any other `lib` subdirectories that do
# not contain `.rb` files, or that should not be reloaded or eager loaded.
Expand Down
117 changes: 0 additions & 117 deletions config/initializers/new_framework_defaults_7_0.rb

This file was deleted.

0 comments on commit 3b004cb

Please sign in to comment.