Revision 630061d2
Added by Michael Moll almost 6 years ago
lib/foreman/foreman_url_renderer.rb | ||
---|---|---|
# returns the URL for Foreman based on the required action
|
||
def foreman_url(action = 'provision')
|
||
# Get basic stuff
|
||
config = URI.parse(Setting[:unattended_url])
|
||
config = URI.parse(Setting[:unattended_url])
|
||
url_options = foreman_url_options_from_settings_or_request(config)
|
||
|
||
host = @host
|
Also available in: Unified diff
Fixes #19775 - Fix Layout/ExtraSpacing cop