This file contains hidden or 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
//Rota para resourceful controller ([nome da rota],[namespace]) | |
Route::resource('artista', 'artista\\ArtistaController'); |
This file contains hidden or 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
//criando um controller restful | |
artisan controller:make FooController | |
//criando um controller restful com criação opcional dos metodos. | |
artisan controller:make FooController --only="index,show" | |
//criando um controller restful menos os metodos. | |
artisan controller:make FooController --except="destroy" |
This file contains hidden or 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
SELECT * FROM dba_tab_privs WHERE GRANTEE ='Name of user' ; |
NewerOlder