fix a problem with bushido_app_claimed? if the variable value is an empty string
This commit is contained in:
parent
dfb4ed48bc
commit
293557a245
@ -26,7 +26,7 @@ module Locomotive
|
||||
end
|
||||
|
||||
def bushido_app_claimed?
|
||||
ENV['BUSHIDO_CLAIMED'] && ENV['BUSHIDO_CLAIMED'].to_s.downcase == 'true'
|
||||
ENV['BUSHIDO_CLAIMED'].present? && ENV['BUSHIDO_CLAIMED'].to_s.downcase == 'true'
|
||||
end
|
||||
|
||||
def enable_bushido
|
||||
|
Loading…
Reference in New Issue
Block a user