Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Insight Public methods in controller classes should ONLY be actions #24

Closed
c33s opened this issue Jul 29, 2014 · 1 comment
Closed

Insight Public methods in controller classes should ONLY be actions #24

c33s opened this issue Jul 29, 2014 · 1 comment

Comments

@c33s
Copy link
Owner

c33s commented Jul 29, 2014

** in Controller/BaseStaticPageController.php, line 160 https://github.com/c33s/StaticPageContentBundle/blob/master/Controller/BaseStaticPageController.php#L160 ** > Non-action public method found in controller class php * * Override this and return true to enable translations support * * @return boolean */ public FUNCTION isUsingTranslations { return $this->container->getParameter c33s_static_pages.prefer_locale_templates ; } /** - _Posted from SensioLabsInsight https://insight.sensiolabs.com/projects/7187788e-a842-4ee6-a2e0-58f4c2809f14/analyses/28 _

@ghost
Copy link

ghost commented Jul 30, 2014

yep. i agree, that's what i tried to do already :). Any comments on that in #22 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant