2017-07-03 07:18:30 -04:00
|
|
|
import AdminPluginsChatProvider from 'discourse/plugins/discourse-chat-integration/admin/routes/admin-plugins-chat-provider'
|
2017-06-28 17:32:02 -04:00
|
|
|
|
|
|
|
export default Discourse.Route.extend({
|
2017-07-03 19:14:01 -04:00
|
|
|
model(params, transition) {
|
2017-06-28 17:32:02 -04:00
|
|
|
return this.store.findAll('provider');
|
2017-07-03 10:53:26 -04:00
|
|
|
},
|
|
|
|
|
|
|
|
actions: {
|
|
|
|
showSettings: function(){
|
|
|
|
this.transitionTo('adminSiteSettingsCategory', 'plugins', {
|
|
|
|
queryParams: { filter: 'chat_integration'}
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
2017-06-28 17:32:02 -04:00
|
|
|
});
|