From 523faa670d4460f3ef18409fc2c08a4d979b5bb3 Mon Sep 17 00:00:00 2001 From: Luis Ramos Date: Wed, 25 Mar 2020 17:31:56 +0000 Subject: [PATCH] Remove FoundationRailsHelper, this is dead code now --- Gemfile | 1 - Gemfile.lock | 11 ----------- app/helpers/application_helper.rb | 2 -- 3 files changed, 14 deletions(-) diff --git a/Gemfile b/Gemfile index 7fbb46c5ee..72dc87335c 100644 --- a/Gemfile +++ b/Gemfile @@ -112,7 +112,6 @@ gem 'momentjs-rails' gem 'turbo-sprockets-rails3' gem "foundation-rails" -gem 'foundation_rails_helper', github: 'willrjmarshall/foundation_rails_helper', branch: "rails3" gem 'jquery-migrate-rails' gem 'jquery-rails', '3.1.5' diff --git a/Gemfile.lock b/Gemfile.lock index 84c427fb72..58fc7269d2 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -65,16 +65,6 @@ GIT rails-i18n spree_core (>= 1.1) -GIT - remote: https://github.com/willrjmarshall/foundation_rails_helper.git - revision: 4d5d53fdc4b1fb71e66524d298c5c635de82cfbb - branch: rails3 - specs: - foundation_rails_helper (0.4) - actionpack (>= 3.0) - activemodel (>= 3.0) - railties (>= 3.0) - PATH remote: engines/catalog specs: @@ -740,7 +730,6 @@ DEPENDENCIES foreigner foundation-icons-sass-rails foundation-rails - foundation_rails_helper! fuubar (~> 2.5.0) geocoder gmaps4rails diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 0142825667..2e03e68bc0 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -1,6 +1,4 @@ module ApplicationHelper - include FoundationRailsHelper::FlashHelper - def feature?(feature) OpenFoodNetwork::FeatureToggle.enabled? feature end