Setting up preliminary "detailed" routes in the UI, new API end-point for fetching status context
This commit is contained in:
parent
2e7aac793a
commit
5b0cef9781
13 changed files with 400 additions and 12 deletions
|
@ -6,6 +6,10 @@ import { setAccessToken } fro
|
|||
import { setAccountSelf } from '../actions/accounts';
|
||||
import PureRenderMixin from 'react-addons-pure-render-mixin';
|
||||
import { Router, Route, hashHistory } from 'react-router';
|
||||
import Account from '../features/account';
|
||||
import Settings from '../features/settings';
|
||||
import Status from '../features/status';
|
||||
import Subscriptions from '../features/subscriptions';
|
||||
|
||||
const store = configureStore();
|
||||
|
||||
|
@ -55,10 +59,10 @@ const Root = React.createClass({
|
|||
<Provider store={store}>
|
||||
<Router history={hashHistory}>
|
||||
<Route path='/' component={Frontend}>
|
||||
<Route path='/settings' component={null} />
|
||||
<Route path='/subscriptions' component={null} />
|
||||
<Route path='/statuses/:statusId' component={null} />
|
||||
<Route path='/accounts/:accountId' component={null} />
|
||||
<Route path='/settings' component={Settings} />
|
||||
<Route path='/subscriptions' component={Subscriptions} />
|
||||
<Route path='/statuses/:statusId' component={Status} />
|
||||
<Route path='/accounts/:accountId' component={Account} />
|
||||
</Route>
|
||||
</Router>
|
||||
</Provider>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue