view app/store/Info.js @ 289:1bda6420c87c

Inherit from Base controller
author Torsten Irländer <torsten.irlaender@intevation.de>
date Fri, 09 Aug 2013 15:00:06 +0200
parents d19ad9d28de5
children 39297b8e5ba2
line wrap: on
line source
Ext.define('Lada.store.Info', {
    extend: 'Ext.data.Store',
    fields: ['user', 'groups', 'version'],
    proxy: {
         type: 'rest',
         url: 'server/rest/info',
         reader: {
             type: 'json',
             root: 'data'
         }
     }
});

http://lada.wald.intevation.org