Prepare to support ruby 3.3.
This commit is contained in:
parent
b301e04fac
commit
3234c94ea6
|
@ -54,7 +54,7 @@ class Admin::PlowController < ApplicationController
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
redirect_to action: :setting
|
redirect_to admin_plow_setting_path
|
||||||
end
|
end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
rails_envs = ["production", "development"]
|
rails_envs = ["production", "development"]
|
||||||
rails_envs.each do |env|
|
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_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
|
end
|
||||||
@command_trans['create_super_manager'] = I18n.t("client_management.create_super_manager")
|
@command_trans['create_super_manager'] = I18n.t("client_management.create_super_manager")
|
||||||
%>
|
%>
|
Loading…
Reference in New Issue