Move /users to /admin

pull/4982/head
Hunter Trujillo 2017-03-01 12:05:38 -07:00
parent 7354b8ea52
commit e7004ac3ad
8 changed files with 5 additions and 5 deletions

View File

@ -1,4 +1,4 @@
import {getUsers} from 'src/users/apis'
import {getUsers} from 'src/admin/apis'
export const loadUsers = ({users}) => ({
type: 'LOAD_USERS',

View File

@ -1,8 +1,8 @@
import React, {Component, PropTypes} from 'react'
import {connect} from 'react-redux';
import {bindActionCreators} from 'redux';
import {loadUsersAsync} from 'src/users/actions'
import UsersTable from 'src/users/components/UsersTable'
import {loadUsersAsync} from 'src/admin/actions'
import UsersTable from 'src/admin/components/UsersTable'
class UsersPage extends Component {
constructor(props) {

View File

@ -14,7 +14,7 @@ import {KapacitorPage, KapacitorRulePage, KapacitorRulesPage, KapacitorTasksPage
import DataExplorer from 'src/data_explorer';
import {DashboardsPage, DashboardPage} from 'src/dashboards';
import {CreateSource, SourcePage, ManageSources} from 'src/sources';
import {UsersPage} from 'src/users';
import {UsersPage} from 'src/admin';
import NotFound from 'src/shared/components/NotFound';
import configureStore from 'src/store/configureStore';
import {getMe, getSources} from 'shared/apis';

View File

@ -5,7 +5,7 @@ import makeQueryExecuter from 'src/shared/middleware/queryExecuter';
import resizeLayout from 'src/shared/middleware/resizeLayout';
import * as dataExplorerReducers from 'src/data_explorer/reducers';
import * as sharedReducers from 'src/shared/reducers';
import adminReducer from 'src/users/reducers/admin';
import adminReducer from 'src/admin/reducers/admin';
import rulesReducer from 'src/kapacitor/reducers/rules';
import dashboardUI from 'src/dashboards/reducers/ui';
import persistStateEnhancer from './persistStateEnhancer';