mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-09 23:24:06 -08:00
Rename dynamicUrl() method
This commit is contained in:
parent
83ce04dc8d
commit
bf10fd0cf0
|
@ -559,7 +559,7 @@ class AssetPresenter extends Presenter
|
|||
* Used to take user created URL and dynamically fill in the needed values per asset
|
||||
* @return string
|
||||
*/
|
||||
public function dynamicWarrantyUrl($dynamic_url)
|
||||
public function dynamicUrl($dynamic_url)
|
||||
{
|
||||
$url = (str_replace('{LOCALE}',\App\Models\Setting::getSettings()->locale, $dynamic_url));
|
||||
$url = (str_replace('{SERIAL}', urlencode($this->model->serial), $url));
|
||||
|
|
Loading…
Reference in a new issue