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

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

export default Router.map(function() {
  this.resource('bookmarks', {path: "/"}, function() {
    this.route('edit', {path: "/bookmark/:bookmark_id"});
    this.route('delete', {path: "/bookmark/:bookmark_id/delete"});
  });
});

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

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

export default Router.map(function() {
  this.resource('bookmarks', {path: "/bookmark"}, function() {
    this.route('edit', {path: "/bookmark/:bookmark_id"});
    this.route('delete', {path: "/bookmark/:bookmark_id/delete"});
  });
});

Use index template for the front page.
Use index template for the front page.
