Skip to content

Instantly share code, notes, and snippets.

@Gowiem
Created June 3, 2017 10:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Gowiem/9df695c77eaf7ae35542f124b47ad3f4 to your computer and use it in GitHub Desktop.
Save Gowiem/9df695c77eaf7ae35542f124b47ad3f4 to your computer and use it in GitHub Desktop.
// frontend/app/router.js
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('accept-invitation', { path: '/users/invitation/accept' });
});
export default Router;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment