1
0
mirror of https://github.com/ascribe/onion.git synced 2024-12-22 17:33:14 +01:00

Move AuthProxyHandler one directory up

This commit is contained in:
Tim Daubenschütz 2015-12-08 10:23:37 +01:00
parent b8c58aa900
commit e1c2c2514c
5 changed files with 7 additions and 7 deletions

View File

@ -3,10 +3,10 @@
import React from 'react';
import { History, RouteContext } from 'react-router';
import UserStore from '../../../stores/user_store';
import UserActions from '../../../actions/user_actions';
import UserStore from '../../stores/user_store';
import UserActions from '../../actions/user_actions';
import AppConstants from '../../../constants/application_constants';
import AppConstants from '../../constants/application_constants';
const { object } = React.PropTypes;
@ -89,7 +89,7 @@ export default function AuthProxyHandler({to, when}) {
} else if(!exprToValidate && when === 'loggedOut' && redirectAuthenticated) {
/*
* redirectAuthenticated contains an arbirary path
* redirectAuthenticated contains an arbitrary path
* eg pieces/<id>, editions/<bitcoin_id>, collection, settings, ...
* hence transitionTo cannot be used directly.
*

View File

@ -22,7 +22,7 @@ import PasswordResetContainer from '../../password_reset_container';
import CoaVerifyContainer from '../../coa_verify_container';
import ErrorNotFoundPage from '../../error_not_found_page';
import AuthProxyHandler from '../../../components/ascribe_routes/proxy_routes/auth_proxy_handler';
import AuthProxyHandler from '../../../components/ascribe_routes/auth_proxy_handler';
const ROUTES = {

View File

@ -40,7 +40,7 @@ import LumenusLanding from './components/lumenus/lumenus_landing';
import Vivi23Landing from './components/23vivi/23vivi_landing';
import Vivi23PieceList from './components/23vivi/23vivi_piece_list';
import AuthProxyHandler from '../../../components/ascribe_routes/proxy_routes/auth_proxy_handler';
import AuthProxyHandler from '../../../components/ascribe_routes/auth_proxy_handler';
import WalletApp from './wallet_app';

View File

@ -25,7 +25,7 @@ import ErrorNotFoundPage from './components/error_not_found_page';
import RegisterPiece from './components/register_piece';
import AuthProxyHandler from './components/ascribe_routes/proxy_routes/auth_proxy_handler';
import AuthProxyHandler from './components/ascribe_routes/auth_proxy_handler';
let COMMON_ROUTES = (