<commit_before>/**
 * Created by aclinton on 10/20/16.
 */
import VueRouter from 'vue-router';
import Home from './components/Home.vue';
import Explore from './components/Explore.vue';
import Servers from './components/server/Index.vue';
import NewServer from './components/server/Create.vue';
import ServerEdit from './components/server/Edit.vue';

const routes = [
    {path: '/', name: 'home', component: Home},
    {path: '/servers', name: 'servers.index', component: Servers},
    {path: '/servers/:id', name: 'servers.edit', component: ServerEdit},
    {path: '/servers/create', name: 'servers.create', component: NewServer},
    {path: '/explore/:id', name: 'explore', component: Explore}
];

let router = new VueRouter({
    linkActiveClass: 'active',
    /*mode: 'history',*/<commit_msg>made routes cleaner<commit_after>/**
 * Created by aclinton on 10/20/16.
 */
import VueRouter from 'vue-router';
import Home from './components/Home.vue';
import Explore from './components/Explore.vue';
import Servers from './components/server/Index.vue';
import NewServer from './components/server/Create.vue';
import ServerEdit from './components/server/Edit.vue';

const routes = [
    {
        path: '/',
        name: 'home',
        component: Home
    },
    {
        path: '/servers',
        name: 'servers.index',
        component: Servers
    },
    {
        path: '/servers/:id',
        name: 'servers.edit',
        component: ServerEdit
    },
    {
        path: '/servers/create',
        name: 'servers.create',
        component: NewServer
    },
    {
        path: '/explore/:id',
        name: 'explore',
        component: Explore
    }
];

let router = new VueRouter({
    linkActiveClass: 'active',
    /*mode: 'history',*/
{'fraction_non_alphanumeric': 0.16590389016018306, 'fraction_numerical': 0.006864988558352402, 'mean_word_length': 2.8780487804878048, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4574139', 'n_tokens_mistral': 534, 'n_tokens_neox': 538, 'n_words': 139}