1c1f772ff5
* Adds a new page for updating profiles * Refactors the add-contributor component to allow for updating existing contributors * Adds input labels to the contributor form and improves placeholders * Adds event handlers for all contract contributor changes and uses them for updating the UI refs #122
23 lines
502 B
JavaScript
23 lines
502 B
JavaScript
import EmberRouter from '@ember/routing/router';
|
|
import config from './config/environment';
|
|
|
|
const Router = EmberRouter.extend({
|
|
location: config.locationType,
|
|
rootURL: config.rootURL
|
|
});
|
|
|
|
Router.map(function() {
|
|
this.route('proposals', function() {
|
|
this.route('new');
|
|
});
|
|
this.route('contributions', function() {
|
|
this.route('new');
|
|
});
|
|
this.route('contributors', function() {
|
|
this.route('new');
|
|
this.route('edit', { path: ':id/edit' });
|
|
});
|
|
});
|
|
|
|
export default Router;
|