<commit_before>###
See for more information
http://arcturo.github.io/library/coffeescript/07_the_bad_parts.html
@cjsx React.DOM
###
"use strict"

# react router
React = require 'react'
Router = require 'react-router'
Route = Router.Route
Routes = Router.Routes
Redirect = Router.Redirect
RouteHandler = Router.RouteHandler
DefaultRoute = Router.DefaultRoute

# pages
Master = require './components/master.coffee'
App = require './components/app.coffee'
SignIn = require './components/pages/sign-in.coffee'
SignUp = require './components/pages/sign-up.coffee'
ResetPassword = require './components/pages/reset-password.coffee'
Dashboard = require './components/pages/app/dashboard.coffee'
Applications = require './components/pages/app/applications.coffee'
Templates = require './components/pages/app/templates.coffee'
TemplatesList = require './components/pages/app/templates/list.coffee'
TemplatesAdd = require './components/pages/app/templates/add.coffee'
TemplatesEdit = require './components/pages/app/templates/edit.coffee'
Messages = require './components/pages/app/messages.coffee'
Contacts = require './components/pages/app/contacts.coffee'
Settings = require './components/pages/app/settings.coffee'

module.exports =
    <Route handler={Master} path="/">
        <Redirect from="/" to="dashboard" />
        <Route name="sign-in" path="in" handler={SignIn} />
        <Route name="sign-up" path="up" handler={SignUp} />
        <Route name="reset-password" path="reset-password" handler={ResetPassword} />
        <Route handler={App}>
            <Route name="dashboard" handler={Dashboard} />
            <Route name="applications" handler={Applications} />
            <Route name="messages" handler={Messages} />
            <Route name="contacts" handler={Contacts} />
            <Route name="settings" handler={Settings} />
            <Route name="templates" handler={Templates}>
                <DefaultRoute handler={TemplatesList} />
                <Route name="template-add" path="add" handler={TemplatesAdd} />
                <Route name="template-edit" path=":uuid" handler={TemplatesEdit} />
            </Route>
        </Route>
    </Route><commit_msg>Routes: fixing sign in/out routes for react routes<commit_after>###
See for more information
http://arcturo.github.io/library/coffeescript/07_the_bad_parts.html
@cjsx React.DOM
###
"use strict"

# react router
React = require 'react'
Router = require 'react-router'
Route = Router.Route
Routes = Router.Routes
Redirect = Router.Redirect
RouteHandler = Router.RouteHandler
DefaultRoute = Router.DefaultRoute

# pages
Master = require './components/master.coffee'
App = require './components/app.coffee'
SignIn = require './components/pages/sign-in.coffee'
SignUp = require './components/pages/sign-up.coffee'
ResetPassword = require './components/pages/reset-password.coffee'
Dashboard = require './components/pages/app/dashboard.coffee'
Applications = require './components/pages/app/applications.coffee'
Templates = require './components/pages/app/templates.coffee'
TemplatesList = require './components/pages/app/templates/list.coffee'
TemplatesAdd = require './components/pages/app/templates/add.coffee'
TemplatesEdit = require './components/pages/app/templates/edit.coffee'
Messages = require './components/pages/app/messages.coffee'
Contacts = require './components/pages/app/contacts.coffee'
Settings = require './components/pages/app/settings.coffee'

module.exports =
    <Route handler={Master} path="/">
        <Redirect from="/" to="dashboard" />
        <Route name="sign-in" path="sign/in" handler={SignIn} />
        <Route name="sign-up" path="sign/up" handler={SignUp} />
        <Route name="reset-password" path="reset-password" handler={ResetPassword} />
        <Route handler={App}>
            <Route name="dashboard" handler={Dashboard} />
            <Route name="applications" handler={Applications} />
            <Route name="messages" handler={Messages} />
            <Route name="contacts" handler={Contacts} />
            <Route name="settings" handler={Settings} />
            <Route name="templates" handler={Templates}>
                <DefaultRoute handler={TemplatesList} />
                <Route name="template-add" path="add" handler={TemplatesAdd} />
                <Route name="template-edit" path=":uuid" handler={TemplatesEdit} />
            </Route>
        </Route>
    </Route>
{'fraction_non_alphanumeric': 0.14924019051939216, 'fraction_numerical': 0.0009072352007257881, 'mean_word_length': 3.6178010471204187, 'pattern_counts': {'":': 2, '<': 39, '<?xml version=': 0, '>': 39, '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': '3805536', 'n_tokens_mistral': 1273, 'n_tokens_neox': 1244, 'n_words': 252}