diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2017-05-20 01:28:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-20 01:28:25 +0200 |
commit | de475cf8d32744330f8029f13c539237a6567029 (patch) | |
tree | eaad397dac2ea78230500fd3a7e150021b960d57 /app/javascript/mastodon/containers/mastodon.js | |
parent | b369fc2de4ab0242775a56fb6208d9dbf2109d91 (diff) |
Add account media gallery view to web UI (#3120)
* Add account media gallery view to web UI * Link media view from account dropdown * Adjust link
Diffstat (limited to 'app/javascript/mastodon/containers/mastodon.js')
-rw-r--r-- | app/javascript/mastodon/containers/mastodon.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/javascript/mastodon/containers/mastodon.js b/app/javascript/mastodon/containers/mastodon.js index 48648d2ca..165a6f045 100644 --- a/app/javascript/mastodon/containers/mastodon.js +++ b/app/javascript/mastodon/containers/mastodon.js @@ -26,6 +26,7 @@ import GettingStarted from '../features/getting_started'; import PublicTimeline from '../features/public_timeline'; import CommunityTimeline from '../features/community_timeline'; import AccountTimeline from '../features/account_timeline'; +import AccountGallery from '../features/account_gallery'; import HomeTimeline from '../features/home_timeline'; import Compose from '../features/compose'; import Followers from '../features/followers'; @@ -204,6 +205,7 @@ class Mastodon extends React.PureComponent { <Route path='accounts/:accountId' component={AccountTimeline} /> <Route path='accounts/:accountId/followers' component={Followers} /> <Route path='accounts/:accountId/following' component={Following} /> + <Route path='accounts/:accountId/media' component={AccountGallery} /> <Route path='follow_requests' component={FollowRequests} /> <Route path='blocks' component={Blocks} /> |