Project

General

Profile

Actions

Bug #1920

closed

Template URLs should not be based on the browser address bar

Added by Greg Sutcliffe over 11 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Normal
Category:
Templates
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Templates are generated using url_for() which causes the templates to get the base url of the foreman server from the user's web browser address. This is incorrect if you're installing Foreman locally and accessing http://localhost:3000/

We should instead use the Settings[:foreman_url] value to construct the URLs. Patch incoming.

Actions #1

Updated by Anonymous over 11 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF