969ef8d1ed
Closes #6 Form can be prefilled using query params on the route. The params are `recipient`, `amount`, `url` and `ipfsHash`.
17 lines
317 B
JavaScript
17 lines
317 B
JavaScript
import Ember from 'ember';
|
|
import config from './config/environment';
|
|
|
|
const Router = Ember.Router.extend({
|
|
location: config.locationType,
|
|
rootURL: config.rootURL
|
|
});
|
|
|
|
Router.map(function() {
|
|
this.route('spinner');
|
|
this.route('proposals', function() {
|
|
this.route('new');
|
|
});
|
|
});
|
|
|
|
export default Router;
|