Skip to content

Commit

Permalink
Permanently deleted app/helpers/ui_constants.rb ... end of issue #1661
Browse files Browse the repository at this point in the history
  • Loading branch information
europ committed Sep 12, 2017
1 parent 01005a0 commit 6b601c9
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 12 deletions.
5 changes: 0 additions & 5 deletions app/helpers/ui_constants.rb

This file was deleted.

5 changes: 0 additions & 5 deletions lib/manageiq/ui/classic/engine.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,6 @@ class Engine < ::Rails::Engine
)
end

config.after_initialize do
# HACK: Autoload UiConstants so other repos don't need to do this. This file pollutes the global namespace for legacy bad reasons.
UiConstants
end

def vmdb_plugin?
true
end
Expand Down
2 changes: 0 additions & 2 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,9 @@

config.include Spec::Support::AuthHelper, :type => :view
config.include Spec::Support::ViewHelper, :type => :view
config.include UiConstants, :type => :view

config.include Spec::Support::ControllerHelper, :type => :controller
config.include Spec::Support::AuthHelper, :type => :controller
config.include UiConstants, :type => :controller

config.include Spec::Support::AuthHelper, :type => :helper

Expand Down

0 comments on commit 6b601c9

Please sign in to comment.