diff options
Diffstat (limited to 'app/helpers')
-rw-r--r-- | app/helpers/application_helper.rb | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index cdc34ea..1e79990 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -37,9 +37,4 @@ module ApplicationHelper html_escape(msg).gsub('[b]', '<b>').gsub('[/b]', '</b>').html_safe end - def engine_enabled(name) - # to disable engine, comment it out in Gemfile (and make sure to re-run bundle install) - Rails::Application::Railties.engines.any? {|eng| eng.class.to_s == "#{name}::Engine"} - end - end |