Skip to content

Conversation

@codejockie
Copy link
Owner

#149983361 refactor routes

#### What does this PR do?
#### This PR refactor routes into a single file

#### Description of Tasks to be completed
#### N/A

#### How should this be manually tested?
#### N/A

#### Any background context you want to provide?
#### No

#### What are the relevant pivotal tracker stories?
#### Refactor Routes

#### Screenshots (if appropriate)
#### N/A

#### Questions:
#### None

Finishes #149983361
@codejockie codejockie temporarily deployed to cjdocs-pr-29 August 5, 2017 19:44 Inactive
validateQuery,
validateRole,
validateUser
} from '../middleware/middleware';

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unable to resolve path to module '../middleware/middleware' import/no-unresolved
Missing file extension for "../middleware/middleware" import/extensions

import documentController from '../controllers/documents';
import rolesController from '../controllers/roles';
import searchController from '../controllers/search';
import usersController from '../controllers/users';

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unable to resolve path to module '../controllers/users' import/no-unresolved
Missing file extension for "../controllers/users" import/extensions

@@ -0,0 +1,68 @@
import documentController from '../controllers/documents';
import rolesController from '../controllers/roles';
import searchController from '../controllers/search';

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unable to resolve path to module '../controllers/search' import/no-unresolved
Missing file extension for "../controllers/search" import/extensions

@@ -0,0 +1,68 @@
import documentController from '../controllers/documents';
import rolesController from '../controllers/roles';

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unable to resolve path to module '../controllers/roles' import/no-unresolved
Missing file extension for "../controllers/roles" import/extensions

@@ -0,0 +1,68 @@
import documentController from '../controllers/documents';

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unable to resolve path to module '../controllers/documents' import/no-unresolved
Missing file extension for "../controllers/documents" import/extensions

import roleRoutes from './roles';
import searchRoutes from './search';
import userRoutes from './users';
import routes from './routes';

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unable to resolve path to module './routes' import/no-unresolved
Missing file extension for "./routes" import/extensions

@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling 0567209 on chore/149983361/refactor-routes into ebf575c on master.

@codejockie codejockie merged commit 2b3dadf into master Aug 5, 2017
@codejockie codejockie deleted the chore/149983361/refactor-routes branch May 18, 2018 11:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants