<commit_before>/**
 * Client Routes
 */
Router.map(function () {

  this.route('ConceptIndex', {
    path: '/'
  });

  // -- Report routes ---------------------------------------------------

  this.route('Reports', {
    path: '/rapporter/side/:page',
    controller: 'ReportsController'
  });

  this.route('ReportsIndex', {
    path: '/rapporter',
    onBeforeAction: function() {
      this.redirect('/rapporter/0');
    }
  });

  this.route('CreateReport', {
    path: '/opprett',
    controller: 'AuthRouteController'
  });

  this.route('EditReport', {
    path: '/rapport/:_id/endre',
    template: 'CreateReport',
    controller: 'EditReportController'
  });

  this.route('Report', {
    path: '/rapport/:_id/:slug?',
    controller: 'ReportViewController'
  });

  // -- Accounts routes --------------------------------------------------

  this.route('AdminLogon', {
    path: '/concept-admin',
    controller: 'AdminLogonController',
    template: 'LoginForm'
  });

  this.route('AdminForgottonPassword', {
    path: '/concept-admin-forgotton-password',
    template: 'LoginForm'<commit_msg>Forgot to redirect /rapporter correctly<commit_after>/**
 * Client Routes
 */
Router.map(function () {

  this.route('ConceptIndex', {
    path: '/'
  });

  // -- Report routes ---------------------------------------------------

  this.route('Reports', {
    path: '/rapporter/side/:page',
    controller: 'ReportsController'
  });

  this.route('ReportsIndex', {
    path: '/rapporter',
    onBeforeAction: function() {
      this.redirect('/rapporter/side/1');
    }
  });

  this.route('CreateReport', {
    path: '/opprett',
    controller: 'AuthRouteController'
  });

  this.route('EditReport', {
    path: '/rapport/:_id/endre',
    template: 'CreateReport',
    controller: 'EditReportController'
  });

  this.route('Report', {
    path: '/rapport/:_id/:slug?',
    controller: 'ReportViewController'
  });

  // -- Accounts routes --------------------------------------------------

  this.route('AdminLogon', {
    path: '/concept-admin',
    controller: 'AdminLogonController',
    template: 'LoginForm'
  });

  this.route('AdminForgottonPassword', {
    path: '/concept-admin-forgotton-password',
    template: 'LoginForm'
{'fraction_non_alphanumeric': 0.25478841870824054, 'fraction_numerical': 0.0008908685968819599, 'mean_word_length': 2.2503617945007237, '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': '5412683', 'n_tokens_mistral': 694, 'n_tokens_neox': 672, 'n_words': 103}