Project

General

Profile

Actions

Feature #4160

closed

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

Added by Dominic Cleal over 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

Also available in: Atom PDF