-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CoreBundle] Add option to link assets from current theme through controller #203
[CoreBundle] Add option to link assets from current theme through controller #203
Conversation
4a9624b
to
cf5da4a
Compare
Current coverage is 46.08% (diff: 100%)@@ master #203 diff @@
==========================================
Files 505 505
Lines 12698 12698
Methods 2348 2348
Messages 0 0
Branches 0 0
==========================================
Hits 5852 5852
Misses 6846 6846
Partials 0 0
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good but tests are missing. I also suggested some small improvements in the docs.
|
||
.. code-block:: twig | ||
|
||
/public/{fileName}.{fileExtension} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shouldn't this example be /{fileName}.{fileExtension}
according to its description?
use Symfony\Component\HttpFoundation\ResponseHeaderBag; | ||
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException; | ||
|
||
class StaticThemeAssetsController extends Controller |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tests are missing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tests are added
Load Service Worker files (from domain root level) | ||
`````````````````````````````````````````````````` | ||
|
||
If You want to use service worker or manifest file (it must be placed in root level) then you can use this url: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would link to service worker definition here
…troller (without knowing current organization or tenant codes)
cf5da4a
to
023c1b7
Compare
(without knowing current organization or tenant codes)