view app/store/Info.js @ 262:1626279daadb 0.2

Set client version
author Torsten Irländer <torsten.irlaender@intevation.de>
date Fri, 26 Jul 2013 10:21: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