privacy-policy.js 331 B

1234567891011121314
  1. import Ember from 'ember';
  2. export default Ember.Route.extend({
  3. model: function() {
  4. return this.store.find('legal-page', 'privacy-policy');
  5. },
  6. actions: {
  7. didTransition: function() {
  8. this.send("setTitle", this.get('settings.privacy_policy_title') || gettext("Privacy policy"));
  9. return true;
  10. }
  11. }
  12. });