Prepare to support ruby 3.3.

This commit is contained in:
邱博亞 2024-02-28 21:54:20 +08:00
parent b301e04fac
commit 3234c94ea6
2 changed files with 2 additions and 2 deletions

View File

@ -54,7 +54,7 @@ class Admin::PlowController < ApplicationController
end
end
end
redirect_to action: :setting
redirect_to admin_plow_setting_path
end
private

View File

@ -7,7 +7,7 @@
rails_envs = ["production", "development"]
rails_envs.each do |env|
@command_relations["start_site_in_env\\,#{env}"] = "kill -s TERM `fuser tmp/pids/unicorn.sock tmp/sockets/unicorn.sock tmp/unicorn.sock` && bundle exec unicorn_rails -c config/unicorn.rb -D -E #{env}"
@command_trans["start_site_in_env\\,#{env}"] = I18n.t("client_management.start_site_in_env",{:env=>env})
@command_trans["start_site_in_env\\,#{env}"] = I18n.t("client_management.start_site_in_env", env: env)
end
@command_trans['create_super_manager'] = I18n.t("client_management.create_super_manager")
%>