import Ember from 'ember';

export default Ember.Route.extend({
    beforeModel() {
        if ( ! this.get('session.isAuthenticated')) {
            return this.transitionTo('public.login');
        }
    },

    model(params) {
        return this.store.find('project', params.id);
    }
});

import Ember from 'ember';

export default Ember.Route.extend({
    beforeModel() {
        if ( ! this.get('session.isAuthenticated')) {
            return this.transitionTo('login');
        }
    },

    model(params) {
        return this.store.find('project', params.id);
    }
});

Fix the invalid route group
Fix the invalid route group
