Clean modules' source code

Don't merge for now.
No it's different read it again
Le 9 sept. 2014 19:53, "Guillaume Gomez" <notifications@github.com> a écrit
:

> In beluga/module/faq/FaqImpl.hx:
>
> > +                error : error_msg, success : success_msg, actual_id : id, user : user };
> > +        } else {
> > +            var cat = getCategory(id);
> > +
> > +            if (cat == null) {
> > +                return {faqs : entries, categories : entries.categories, path : "/faqTest/", parent_id : parent_id,
> > +                    error : error_msg, success : success_msg, actual_id : id, user : user };
> > +            } else {
> > +                return {faqs : entries, categories : entries.categories, path : "/faqTest/", user : user, parent_id : parent_id,
> > +                    error : error_msg, success : success_msg, actual_id : id, category_name: cat.name };
> > +            }
> > +        }
> > +    }
> > +
> > +    public function getCreateContext(parent_id: Int) : Dynamic {
> > +        return {path : "/faqTest/", error : error_msg, success : success_msg, parent: parent_id,
>
> You do it here
> <https://github.com/HaxeBeluga/Beluga/blob/master/beluga/module/ticket/view/tpl/browse.mtt#L13>
> for example. And I actually was thinking about that. Maybe taking the
> wanted url as an argument ?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/HaxeBeluga/Beluga/pull/170/files#r17316491>.
>