Sha256: 2975ceb7df089b739fdb1c5e03b4924b2e3ba812e34bab8c7ba38f477506a7b0
Contents?: true
Size: 396 Bytes
Versions: 4
Compression:
Stored size: 396 Bytes
Contents
module OpenConferenceWare module LocalcssHelper # Use local CSS files? These are used if the server is running the # "development" environment, or if there is a "localcss.flag" file, or the # LOCALCSS environmental variable is set. def localcss? return Rails.env == "development" || ENV['LOCALCSS'] || File.exist?(File.join(Rails.root, "localcss.flag")) end end end
Version data entries
4 entries across 4 versions & 1 rubygems