mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-22 18:31:57 +03:00
af4bfb8862
- purely for cleanliness! - we use kebabcase by default - tests should be kebab-case-file_spec.js (one day we want this to be .test.js)
11 lines
235 B
JavaScript
11 lines
235 B
JavaScript
const routingService = require('../services/routing');
|
|
|
|
function getRssUrl(data, absolute) {
|
|
return routingService.registry.getRssUrl({
|
|
secure: data.secure,
|
|
absolute: absolute
|
|
});
|
|
}
|
|
|
|
module.exports = getRssUrl;
|