refactor the bushido_app_claimed? method by using Boolean.set (more reliable)
This commit is contained in:
parent
293557a245
commit
1d08277231
@ -26,7 +26,7 @@ module Locomotive
|
||||
end
|
||||
|
||||
def bushido_app_claimed?
|
||||
ENV['BUSHIDO_CLAIMED'].present? && ENV['BUSHIDO_CLAIMED'].to_s.downcase == 'true'
|
||||
Boolean.set(ENV['BUSHIDO_CLAIMED']) || false
|
||||
end
|
||||
|
||||
def enable_bushido
|
||||
|
Loading…
Reference in New Issue
Block a user