diff --git a/app/helpers/style_helper.rb b/app/helpers/style_helper.rb deleted file mode 100755 index 774407b7f..000000000 --- a/app/helpers/style_helper.rb +++ /dev/null @@ -1,19 +0,0 @@ -# frozen_string_literal: true - -module StyleHelper - def stylesheet_for_layout - if asset_exist? 'custom.css' - 'custom' - else - 'application' - end - end - - def asset_exist?(path) - if Rails.configuration.assets.compile - Rails.application.precompiled_assets.include? path - else - Rails.application.assets_manifest.assets[path].present? - end - end -end