Skip to content

Commit

Permalink
Move the high voltage initializer here, where it's used
Browse files Browse the repository at this point in the history
Note, high_voltage is an engine so we must require it when
lib/manageiq-ui-classic is required.

Once this is merged, we can remove it from the main repo here:
ManageIQ/manageiq#15171
  • Loading branch information
jrafanie committed May 23, 2017
1 parent 1a46112 commit deb503f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
8 changes: 8 additions & 0 deletions config/initializers/high_voltage.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
HighVoltage.configure do |config|
config.layout = false

config.routes = false

# app/views/static
config.content_path = 'static/'
end
1 change: 1 addition & 0 deletions lib/manageiq-ui-classic.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@
require "manageiq/ui/classic/version"

# load any engines that we depend on here
require 'high_voltage'
require "novnc-rails"

0 comments on commit deb503f

Please sign in to comment.