Merge pull request #315

This commit is contained in:
symfony-flex-server[bot]
2018-05-13 05:57:36 +00:00
committed by GitHub
4 changed files with 31 additions and 0 deletions
@@ -0,0 +1,4 @@
disjfa_mozaic:
unsplash:
application_id: '%env(resolve:UNSPLASH_APPLICATION_ID)%'
secret: '%env(resolve:UNSPLASH_APPLICATION_SECRET)%'
@@ -0,0 +1,3 @@
disjfa_mozaic:
resource: '@DisjfaMozaicBundle/Controller/'
type: annotation
+15
View File
@@ -0,0 +1,15 @@
{
"bundles": {
"Disjfa\\MozaicBundle\\DisjfaMozaicBundle": [
"all"
]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"env": {
"#1": "You can request a api key on the developer page of unsplash here: https://unsplash.com/developers",
"UNSPLASH_APPLICATION_ID": "",
"UNSPLASH_APPLICATION_SECRET": ""
}
}
+9
View File
@@ -0,0 +1,9 @@
<bg=blue;fg=white> </>
<bg=blue;fg=white> Mozaic bundle configuration </>
<bg=blue;fg=white> </>
* Modify the UNSPLASH_APPLICATION_ID and UNSPLASH_APPLICATION_SECRET config in .env
* Don't forget to add the vue component in you javascript
* You can check the instructions on the github repo: https://github.com/disjfa/mozaic-bundle