<commit_before>/*
 * This file belongs to Kreta.
 * The source code of application includes a LICENSE file
 * with all information about license.
 *
 * @author benatespina <<EMAIL>>
 * @author gorkalaucirica <<EMAIL>>
 */

import {ProjectController} from '../controllers/project';

export class ProjectRouter extends Backbone.Marionette.AppRouter {
  initialize() {
    this.controller = new ProjectController();
    this.appRoutes = {
      'project/:id': 'showAction',
      'project/:id/settings': 'settingsAction',
      'project/new': 'newAction',
      'projects': 'listAction'
    };
  }<commit_msg>Fixed routing issues when creating project<commit_after>/*
 * This file belongs to Kreta.
 * The source code of application includes a LICENSE file
 * with all information about license.
 *
 * @author benatespina <<EMAIL>>
 * @author gorkalaucirica <<EMAIL>>
 */

import {ProjectController} from '../controllers/project';

export class ProjectRouter extends Backbone.Marionette.AppRouter {
  initialize() {
    this.controller = new ProjectController();
    this.appRoutes = {
      'project/new': 'newAction',
      'project/:id': 'showAction',
      'project/:id/settings': 'settingsAction',
      'projects': 'listAction'
    };
  }
{'fraction_non_alphanumeric': 0.128928283642224, 'fraction_numerical': 0.0, 'mean_word_length': 3.813953488372093, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, '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': '6341388', 'n_tokens_mistral': 351, 'n_tokens_neox': 352, 'n_words': 101}