Aileen Nowak
503148058c
More consistant usage of urlFor('home') ( #7689 )
...
refs #7666
Using `urlFor('home')` instead `config.get('url')` in Ghost.
When `urlFor('home', true)` returns the absolute adress of the blog as defined in the config.
Will always return a trailing `/`.
2017-01-23 09:22:37 +01:00
kirrg001
b158a3a944
🚨 change logic for test/utils/configUtils
...
refs #6982
- adaption because of using nconf
- change tests which changed config directly
[ci skip]
2016-09-20 15:59:34 +01:00
kirrg001
0b2940d587
🎨 add getSubdir and getProtectedSlugs
...
refs #6982
- do not add the subdir property as static config value
- create functions to read subdir and protected slugs on runtime
2016-09-20 15:59:34 +01:00
kirrg001
0dd3d9ff40
🎨 Move tests: create utils/url_spec.js
...
refs #6982
2016-09-20 15:59:34 +01:00