calendarplus icon indicating copy to clipboard operation
calendarplus copied to clipboard

Move \OCP\Util::addscript and Co. out of the controllers

Open LukasReschke opened this issue 10 years ago • 0 comments

Does not belong there. Use something like script('calendarplus', 'foo') in the respective template file.

Ref https://github.com/libasys/calendarplus/blob/67828765919e0006719bfce50709c4166b490c33/controller/pagecontroller.php#L83-L112

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/24506100-move-ocp-util-addscript-and-co-out-of-the-controllers?utm_campaign=plugin&utm_content=tracker%2F19394737&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F19394737&utm_medium=issues&utm_source=github).

LukasReschke avatar Jul 17 '15 15:07 LukasReschke