Skip to content

Commit

Permalink
Merge pull request #10103 from Hudell/remove-private-history-route
Browse files Browse the repository at this point in the history
[BREAK] Removed Private History Route
  • Loading branch information
rodrigok authored Mar 26, 2018
2 parents ee574bb + 846c4be commit 245cdb2
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 193 deletions.
13 changes: 0 additions & 13 deletions client/routes/router.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,19 +95,6 @@ FlowRouter.route('/account/:group?', {
}]
});

FlowRouter.route('/history/private', {
name: 'privateHistory',

subscriptions(/*params, queryParams*/) {
this.register('privateHistory', Meteor.subscribe('privateHistory'));
},

action() {
Session.setDefault('historyFilter', '');
BlazeLayout.render('main', {center: 'privateHistory'});
}
});

FlowRouter.route('/terms-of-service', {
name: 'terms-of-service',

Expand Down
6 changes: 0 additions & 6 deletions packages/rocketchat-ui-sidenav/client/sideNav.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,6 @@
{{#each roomType}}
{{> Template.dynamic template=template data=data }}
{{/each}}

{{#if canViewHistory}}
<h3 class="history-div">
<a href="{{pathFor 'privateHistory'}}">{{_ "History"}}</a>
</h3>
{{/if}}
</div>
<div class="unread-rooms background-primary-action-color color-primary-action-contrast bottom-unread-rooms hidden">
{{_ "More_unreads"}} <i class="icon-down-big"></i>
Expand Down
59 changes: 0 additions & 59 deletions packages/rocketchat-ui/client/views/app/privateHistory.html

This file was deleted.

97 changes: 0 additions & 97 deletions packages/rocketchat-ui/client/views/app/privateHistory.js

This file was deleted.

2 changes: 0 additions & 2 deletions packages/rocketchat-ui/package.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ Package.onUse(function(api) {
api.addFiles('client/views/app/popout.html', 'client');
api.addFiles('client/views/app/alerts.html', 'client');

api.addFiles('client/views/app/privateHistory.html', 'client');
api.addFiles('client/views/app/room.html', 'client');
api.addFiles('client/views/app/roomSearch.html', 'client');
api.addFiles('client/views/app/secretURL.html', 'client');
Expand All @@ -110,7 +109,6 @@ Package.onUse(function(api) {
api.addFiles('client/views/app/fullModal.js', 'client');
api.addFiles('client/views/app/home.js', 'client');
api.addFiles('client/views/app/directory.js', 'client');
api.addFiles('client/views/app/privateHistory.js', 'client');
api.addFiles('client/views/app/room.js', 'client');
api.addFiles('client/views/app/roomSearch.js', 'client');
api.addFiles('client/views/app/secretURL.js', 'client');
Expand Down
16 changes: 0 additions & 16 deletions server/publications/privateHistory.js

This file was deleted.

0 comments on commit 245cdb2

Please sign in to comment.