Fix reference error
Fix reference error

There is no "view" nor "configModel" in a Share of the gallery;
configuration parameters are got using "oc_appconfig".

Signed-off-by: Daniel Calviño Sánchez <bd7629e975cc0e00ea7cda4ab6a120f2ee42ac1b@gmail.com>

desaintmartin/gallery,desaintmartin/gallery,desaintmartin/gallery