import Ember from 'ember';
import config from './config/environment';

var Router = Ember.Router.extend({
  location: config.locationType
});

Router.map(function() {
  this.resource('artists');
  this.resource('resources');
  this.resource('donate');
  this.route('login');
});

export default Router;

import Ember from 'ember';
import config from './config/environment';

var Router = Ember.Router.extend({
  location: config.locationType
});

Router.map(function() {
  this.resource('artists');
  this.route('resources');
  this.route('donate');
  this.route('login');
});

export default Router;

Use route instead of resource for route URLs
Use route instead of resource for route URLs
