Commit c97ff884 authored by Ragnar-H's avatar Ragnar-H

Use oneliner instead of do block

parent 3c9d1d03
...@@ -3,9 +3,7 @@ ...@@ -3,9 +3,7 @@
class Groups::UsageQuotasController < Groups::ApplicationController class Groups::UsageQuotasController < Groups::ApplicationController
before_action :authorize_admin_group! before_action :authorize_admin_group!
before_action :verify_usage_quotas_enabled! before_action :verify_usage_quotas_enabled!
before_action do before_action :push_additional_repo_storage_by_namespace_feature_flag
push_additional_repo_storage_by_namespace_feature_flag
end
layout 'group_settings' layout 'group_settings'
......
# frozen_string_literal: true # frozen_string_literal: true
class Profiles::UsageQuotasController < Profiles::ApplicationController class Profiles::UsageQuotasController < Profiles::ApplicationController
before_action do before_action :push_additional_repo_storage_by_namespace_feature_flag
push_additional_repo_storage_by_namespace_feature_flag
end
feature_category :purchase feature_category :purchase
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment