Clean modules' source code

Don't merge for now.
I don't thunk i've write a url in hard in a module. How do you do if you
want to change this url ?
Le 9 sept. 2014 19:49, "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,
>
> Instead of putting directly "/faqTest/" in my mtt file (like you do), I
> put it here.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/HaxeBeluga/Beluga/pull/170/files#r17316269>.
>