Validates params in your controller.