There is already a Controller : Infos class. This controller should fetch (from YurPlan) or compute a boolean, and give it to view, which should only use it (but compute nothing). That way, all presentation rules and dependencies are declared and managed by controller, where they belong.

On Sat, Mar 22, 2014 at 10:22 PM, Mathieu Petitdant
<notifications@github.com> wrote:

>> @@ -1,6 +1,9 @@
>>  #{extends 'main.html' /}
>>  #{set title:'Inscription' /}
>>  
>> +%{
>> +    def soldOut = helpers.ticketing.YurPlan.soldOut ;
>  Not if you consider the YurPlan class as the YurPlan controller and YurPlan API as the model ?
> ---
> Reply to this email directly or view it on GitHub:
> https://github.com/mix-it/linkit/pull/239/files#r10864327