[IMP] website: refactor website_image controller (and placeholder), move to model...
authorOlivier Dony <odo@openerp.com>
Wed, 14 May 2014 14:32:36 +0000 (16:32 +0200)
committerOlivier Dony <odo@openerp.com>
Wed, 14 May 2014 14:32:36 +0000 (16:32 +0200)
commit6130ed3ce0fbc6da5dea27ca2a005fc8d4445588
treee93452f3ee7daa5863a1612a21dcbc6842af4c23
parent8f2bbf73ae5943a0cd35de3f3f48482575f4fe2c
[IMP] website: refactor website_image controller (and placeholder), move to model to make it reusable

It is "almost" reusable because it still depends on the global `request` variable,
this could be solved by making it an explicit parameter.
addons/website/controllers/main.py
addons/website/models/website.py