Skip to content

Commit 35dc48d

Browse files
[FrameworkBundle] use the router context by default for assets
1 parent 275abd4 commit 35dc48d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

RequestContext.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -319,4 +319,9 @@ public function setParameter(string $name, $parameter)
319319

320320
return $this;
321321
}
322+
323+
public function isSecure(): bool
324+
{
325+
return 'https' === $this->scheme;
326+
}
322327
}

0 commit comments

Comments
 (0)