"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "app/assets/javascripts/discourse/app/routes/groups-index.js" between
discourse-2.7.3.tar.gz and discourse-2.7.4.tar.gz

About: Discourse is a "next-generation" forum platform for community discussions.

groups-index.js  (discourse-2.7.3):groups-index.js  (discourse-2.7.4)
import DiscourseRoute from "discourse/routes/discourse"; import DiscourseRoute from "discourse/routes/discourse";
import I18n from "I18n"; import I18n from "I18n";
export default DiscourseRoute.extend({ export default class GroupsIndexRoute extends DiscourseRoute {
titleToken() { titleToken() {
return I18n.t("groups.index.title"); return I18n.t("groups.index.title");
}, }
queryParams: { queryParams = {
order: { refreshModel: true, replace: true }, order: { refreshModel: true, replace: true },
asc: { refreshModel: true, replace: true }, asc: { refreshModel: true, replace: true },
filter: { refreshModel: true }, filter: { refreshModel: true },
type: { refreshModel: true, replace: true }, type: { refreshModel: true, replace: true },
username: { refreshModel: true }, username: { refreshModel: true },
}, };
model(params) { model(params) {
return params; return params;
}, }
setupController(controller, params) { setupController(controller, params) {
controller.loadGroups(params); controller.loadGroups(params);
}, }
}); }
 End of changes. 6 change blocks. 
5 lines changed or deleted 5 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)