lib/foreman_tasks/dynflow.rb in foreman-tasks-0.8.3 vs lib/foreman_tasks/dynflow.rb in foreman-tasks-0.8.4
- old
+ new
@@ -80,9 +80,13 @@
end
return @world
end
+ def world=(world)
+ @world = world
+ end
+
def web_console
::Dynflow::Web.setup do
before do
if !Setting[:dynflow_enable_console] ||
(Setting[:dynflow_console_require_auth] && !ConsoleAuthorizer.new(env).allow?)