about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authorMatt Jankowski <mjankowski@thoughtbot.com>2017-05-19 10:54:47 -0400
committerEugen Rochko <eugen@zeonfederated.com>2017-05-19 16:54:47 +0200
commit3002a8941944a3913ee95d865894917570451c69 (patch)
tree17919fc733b4a716fe593f93936d4ff448648e4e /app
parent17ba6620048042761dd88b608c8d01ebdb42dc4b (diff)
Remove unused style helper (#3145)
Diffstat (limited to 'app')
-rwxr-xr-xapp/helpers/style_helper.rb19
1 files changed, 0 insertions, 19 deletions
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