commit: 3002a8941944a3913ee95d865894917570451c69
parent: 17ba6620048042761dd88b608c8d01ebdb42dc4b
Author: Matt Jankowski <mjankowski@thoughtbot.com>
Date: Fri, 19 May 2017 10:54:47 -0400
Remove unused style helper (#3145)
Diffstat:
1 file changed, 0 insertions(+), 19 deletions(-)
diff --git a/app/helpers/style_helper.rb b/app/helpers/style_helper.rb
@@ -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