Commit 28514f54 authored by Mike Greiling's avatar Mike Greiling Committed by Kamil Trzcinski

make namespace shared_runners_minutes helper methods public

parent e168b103
......@@ -172,6 +172,10 @@ class Namespace < ActiveRecord::Base
end
end
def shared_runners_enabled?
current_application_settings.shared_runners_enabled?
end
def shared_runners_minutes_limit
read_attribute(:shared_runners_minutes_limit) ||
current_application_settings.shared_runners_minutes
......
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