Skip to content

Commit

Permalink
Traduzi Filtros de Controladores
Browse files Browse the repository at this point in the history
  • Loading branch information
webrgp committed Apr 6, 2013
1 parent 6ca2009 commit 250e345
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions controllers.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,19 +52,19 @@ Você pode acessar o nome da ação do controlador que está sendo executado com
$action = Route::currentRouteAction();

<a name="controller-filters"></a>
## Controller Filters
## Filtros de Controladores

[Filters](/docs/routing#route-filters) may be specified on controller routes similar to "regular" routes:
Os [filtros](/docs/routing#route-filters) podem ser especificados em rotas controladoras semelhantes às rotas regulares:

Route::get('profile', array('before' => 'auth',
'uses' => 'UserController@showProfile'));

However, you may also specify filters from within your controller:
No entanto, você também pode especificar filtros de dentro de seu controlador:

class UserController extends BaseController {

/**
* Instantiate a new UserController instance.
* Instanciar uma nova instância de UserController.
*/
public function __construct()
{
Expand All @@ -78,12 +78,12 @@ However, you may also specify filters from within your controller:

}

You may also specify controller filters inline using a Closure:
Você também pode especificar filtros de controladorers usando funções anônimas (Closures):

class UserController extends BaseController {

/**
* Instantiate a new UserController instance.
* Instanciar uma nova instância de UserController.
*/
public function __construct()
{
Expand Down

0 comments on commit 250e345

Please sign in to comment.