Created
May 21, 2015 00:45
-
-
Save amandasantanati/8ead0791f5fe2a67bc36 to your computer and use it in GitHub Desktop.
CakePHP 3.x beforeFilter
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public function beforeFilter(Event $event) | |
{ | |
I18n::locale('pt_br'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment