Project

General

Profile

Actions

Feature #4160

closed

foreman_url should be able to append parameters, e.g. static

Added by Dominic Cleal about 10 years ago. Updated over 4 years ago.

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

Description

The foreman_url renderer function should take additional options so it can automatically append parameters to the URL. Currently you have to append to it in the template, which is unreliable as parameters may need appending with a "?" or "&" prefix depending on whether it's the first parameter in the query string or not.

e.g. foreman_url("provision", :params => { :static => "yes" })


Related issues 1 (0 open1 closed)

Related to Foreman - Refactor #29733: Deprecate calling foreman_url without argumentsClosedLukas ZapletalActions
Actions #1

Updated by The Foreman Bot over 4 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Lukas Zapletal
  • Pull request https://github.com/theforeman/foreman/pull/7086 added
Actions #2

Updated by The Foreman Bot over 4 years ago

  • Fixed in Releases 2.0.0 added
Actions #3

Updated by Lukas Zapletal over 4 years ago

  • Status changed from Ready For Testing to Closed
Actions #4

Updated by Lukas Zapletal almost 4 years ago

  • Related to Refactor #29733: Deprecate calling foreman_url without arguments added
Actions

Also available in: Atom PDF