Files
threshold-ui/ui/core/app/helpers/company-copyright.js
T
Randall Morey cfd8fae69a refactor: 💡 apply doc-url helper to footer
and refactor to use company-name and company-copyright helpers, rather
than translations
2020-10-05 17:20:04 -04:00

8 lines
251 B
JavaScript

import { helper } from '@ember/component/helper';
import config from '../config/environment';
export default helper(function companyCopyright() {
const currentYear = new Date().getFullYear();
return `© ${currentYear} ${config.companyName}`;
});